- Untitled Trigger 001
- Events
- Time - Every 10.00 seconds of game time
- Conditions
- Actions
- Set p = (Center of Region 000 <gen>)
- Set p2 = (Center of Region 001 <gen>)
- Unit - Create 1 Footman for Player 1 (Red) at p facing Default building facing degrees
- Unit - Order (Last created unit) to Patrol To p2
- Unit - Create 1 Rifleman for Player 1 (Red) at p facing Default building facing degrees
- Unit - Order (Last created unit) to Patrol To p2
- Unit - Create 1 Flying Machine for Player 1 (Red) at p facing Default building facing degrees
- Unit - Order (Last created unit) to Patrol To p2
- Custom script: call RemoveLocation(udg_p)
- Custom script: call RemoveLocation(udg_p2)
When unit gets stuned, rooted or something like that witch stops his movement, it won't move any more.
SO change trigger to this one:
- Untitled Trigger 001
- Events
- Time - Every 10.00 seconds of game time
- Conditions
- Actions
- Set p = (Center of Region 000 <gen>)
- Set p2 = (Center of Region 001 <gen>)
- Unit - Create 1 Footman for Player 1 (Red) at p facing Default building facing degrees
- Unit - Order (Last created unit) to Patrol To p2
- Unit - Create 1 Rifleman for Player 1 (Red) at p facing Default building facing degrees
- Unit - Order (Last created unit) to Patrol To p2
- Unit - Create 1 Flying Machine for Player 1 (Red) at p facing Default building facing degrees
- Unit - Order (Last created unit) to Patrol To p2
- Unit Group - Pick every unit (units owned by "player x"), order "picked unit" to patrol to p2
- Custom script: call RemoveLocation(udg_p)
- Custom script: call RemoveLocation(udg_p2)