- Joined
- Sep 27, 2009
- Messages
- 672
What's wrong with my triggers??
I made 6 regions in "Forest" and triggers are supposed to do this:
-Every 3 seconds pick all units owned by p12 in Z1 and order picked unit to move-attack random region 1-6... But it's not working good ...
I made 6 regions in "Forest" and triggers are supposed to do this:
-Every 3 seconds pick all units owned by p12 in Z1 and order picked unit to move-attack random region 1-6... But it's not working good ...
-
Set R
-

Events
-

Conditions
-

Actions
-


Set FRegions[1] = F1 <gen>
-


Set FRegions[2] = F2 <gen>
-


Set FRegions[3] = F3 <gen>
-


Set FRegions[4] = F4 <gen>
-


Set FRegions[5] = F5 <gen>
-


Set FRegions[6] = F6 <gen>
-
-
-
Order 1
-

Events
-


Time - Every 3.00 seconds of game time
-
-

Conditions
-

Actions
-


Unit Group - Pick every unit in (Units in Z1 <gen> owned by Player 12 (Brown)) and do (Actions)
-



Loop - Actions
-




Unit - Order (Picked unit) to Attack-Move To (Center of FRegions[(Random integer number between 1 and 6)])
-
-
-
-




!