so I think what I want to do can be done in one or two triggers. I am trying to get it to be:
Every two seconds:
all barracks owned by player 21 train a footman
End Pseudocode loop
based on other questions I think I have to create a unit group first though
Here is what I am trying:
Every two seconds:
all barracks owned by player 21 train a footman
End Pseudocode loop
based on other questions I think I have to create a unit group first though
Here is what I am trying:
-
enemy train footmen1
-
Events
- Map initialization
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Barracks
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
- Unit - Change ownership of (Triggering unit) to Player 1 (Red) and Change color
- Unit Group - Add (Triggering unit) to enemybarracks
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Events
Last edited: