- Joined
- Oct 30, 2009
- Messages
- 24
Here's a rough copy of what i have, I had to replace some things with my own text because it was in Russian. it's suposed to kill a unit stored in a variable [squadvar2] if there's no more units with that costume value *
Every 2.00 seconds of game time
For each (Integer A) from 0 to squadvar, do (Actions)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Number of units in (Units in (Playable map area) matching ((Custom value of (Matching unit)) = squadvar))) equals 0
then
unit - Kill squadvar2[(Integer A)] *
else
Do nothing
-----------------------------------------------
need more info? just tell, i just need a fixed scripd ( i do not care about leakes
)
repost
basically i need to remove squadvar2[#] if there is no more units with costume value of # of squadvar2
Every 2.00 seconds of game time
For each (Integer A) from 0 to squadvar, do (Actions)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Number of units in (Units in (Playable map area) matching ((Custom value of (Matching unit)) = squadvar))) equals 0
then
unit - Kill squadvar2[(Integer A)] *
else
Do nothing
-----------------------------------------------
need more info? just tell, i just need a fixed scripd ( i do not care about leakes
repost
basically i need to remove squadvar2[#] if there is no more units with costume value of # of squadvar2