- Joined
- Jan 4, 2006
- Messages
- 30
Events
Unit - A unit owned by Player 1 (Red) Is issued an order targeting an object
Unit - A unit owned by Player 1 (Red) Is issued an order targeting a point
Unit - A unit owned by Player 1 (Red) Is issued an order with no target
Actions
If ((Region 1 <gen> contains (Ordered unit)) Equal to True) then do (Unit Group - Order (Units owned by (Owner of (Ordered unit)) matching (((Region 1 <gen> contains (Matching unit)) Equal to True) and (((Unit-type of (Matching unit)) Not equal to Builder) and ((Unit-type of (Matching unit)) Not equal to Wisp)))) to Attack-Move To (Center of arrivee 2 <gen>)) else do (Do nothing)
or (Alternate actions)
If ((Remove 2 <gen> contains (Ordered unit)) Equal to True) then do (Unit Group - Order (Units in Remove 2 <gen> matching ((Unit-type of (Matching unit)) Not equal to Builder)) to Attack-Move To (Center of arrivee 2 <gen>)) else do (Do nothing)
This trigger suppose to move all the units in a region when ordered except for builder and wisp. Both returned the same results. If there are too many units in the region some of them will move but some of them I can still order them to move areound. What is the problem? You can try using the trigger.
Unit - A unit owned by Player 1 (Red) Is issued an order targeting an object
Unit - A unit owned by Player 1 (Red) Is issued an order targeting a point
Unit - A unit owned by Player 1 (Red) Is issued an order with no target
Actions
If ((Region 1 <gen> contains (Ordered unit)) Equal to True) then do (Unit Group - Order (Units owned by (Owner of (Ordered unit)) matching (((Region 1 <gen> contains (Matching unit)) Equal to True) and (((Unit-type of (Matching unit)) Not equal to Builder) and ((Unit-type of (Matching unit)) Not equal to Wisp)))) to Attack-Move To (Center of arrivee 2 <gen>)) else do (Do nothing)
or (Alternate actions)
If ((Remove 2 <gen> contains (Ordered unit)) Equal to True) then do (Unit Group - Order (Units in Remove 2 <gen> matching ((Unit-type of (Matching unit)) Not equal to Builder)) to Attack-Move To (Center of arrivee 2 <gen>)) else do (Do nothing)
This trigger suppose to move all the units in a region when ordered except for builder and wisp. Both returned the same results. If there are too many units in the region some of them will move but some of them I can still order them to move areound. What is the problem? You can try using the trigger.