akuzaid93
New Member
- Reaction score
- 3
Code:
For each (Integer A) from 1 to 15, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in Hostile_Spawn_Region[(Integer A)] owned by Neutral Hostile)) Equal to 0
Then - Actions
Unit Group - Pick every unit in HostileUnitGroup[(Random integer number between 1 and 15)] and do (Actions)
Loop - Actions
Unit - Create 1 (Unit-type of (Picked unit)) for Neutral Hostile at (Center of Hostile_Spawn_Region[1]) facing (Random real number between 0.00 and 360.00) degrees
Else - Actions
Why can't this works?
when the map started, what happen is all the units are created at center of map.
I have set the Unit HostileUnitGroup var and the Hostile_Spawn_Region var.
so what's wrong?