- Joined
- Jul 21, 2015
- Messages
- 143
Round 1 Part 2
Events
Time - Every 1.50 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) matching ((Current order of (Matching unit)) Not equal to (Order(attack)))) and do (Actions)
Loop - Actions
Unit - Order (Matching unit) to Attack-Move To (Position of (Random unit from (Units owned by (Random player from (All players controlled by a User player)) matching (((Matching unit) is A structure) Equal to False))))
I am having trouble with this trigger. I want it to make units from a computer that aren't attacking anything to attack=move to the point of a random user-controlled player unit, but either it does it one at a time or they don't go at all. Is there a way to fix this? I have tried chaninging the Matching Unit to Picked Unit also but it doesn't work.
Can anyone help? Thanks
Events
Time - Every 1.50 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) matching ((Current order of (Matching unit)) Not equal to (Order(attack)))) and do (Actions)
Loop - Actions
Unit - Order (Matching unit) to Attack-Move To (Position of (Random unit from (Units owned by (Random player from (All players controlled by a User player)) matching (((Matching unit) is A structure) Equal to False))))
I am having trouble with this trigger. I want it to make units from a computer that aren't attacking anything to attack=move to the point of a random user-controlled player unit, but either it does it one at a time or they don't go at all. Is there a way to fix this? I have tried chaninging the Matching Unit to Picked Unit also but it doesn't work.
Can anyone help? Thanks