Im trying to make a variable system on my map where for every 1 kill someone gets the attack of all there archers goes up by 2. Does anyone know how i can do that?
do you mean something like somebody kills an enemy that somebody gets '+2 attack'?
No ill make it simpler. At every 100 kils player (X) gets Player (X)'s archers' attack will go up by +7.
variables: killcount (this is an integer array set at 0 default)
event: a unit dies conditions: none yet actions: set killcount(player number of owner of killing unit) killcount(player number of owner of killing unit + 1) If, than, else (multiple functions) Condition: killcount(player number of owner of killing unit) equal to or greater than 100 then (action): set killcount(player number of owner of killing unit) to 0 (1st option) pick all units of type archer owned by owner of killing unit and [Advanced - For (Picked unit) Increase damage by 7] OR (2nd option)Player - Set the current research level of ArcherDamageUpgrade to ((Current research level of ArcherDamageUpgrade for (Owner of (Killing unit))) + 1) for (Owner of (Killing unit))
the advanced trigger (1st option) to set units damage is ONLY in WEU which you will need to download.
if you dont have WEU you can set up an upgrade that has lots of levels and just auto fill to give 7 damage each level.and use (2nd option)
wow... thanks emo thats exactly what i was looking for. thanks so much for hte help.