sniper!

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

pomakli
Captain - Bf 110D
Captain - Bf 110D
Posts: 894
Joined: Thu Dec 03, 2009 12:40 pm
Location: Munich/Germany

Re: back again!

Post by pomakli »

[quote="Merr"]Cannot have all functions the same name, each function must be named differently. Also, change any code inside the function that calls for the old name, ie ... if the old name was FUNCTION SniperAttack, new name FUNCTION GermanSniperAttack, check for old code inside the function with the name FUNCTION SniperAttack and change this to new name.[quote]

I did this also!

:cry:
Merr
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 903
Joined: Mon Aug 16, 2010 2:00 pm

Post by Merr »

Pomakli,

Good new !!

I added some code to the AI so now it will use SNIPERSHOT instead of HERange fire.

Continue to use the bonus card until I am finished with my sharpshooter scenario because it is easier for you to look at what I did (code example) than for me to explain what I did.

You have a great idea (sniper unit) and it's becoming true!
Post Reply

Return to “Battle Academy : Modders Corner ”