Ty I was looking for the answer of this question toothats a trigger i use in my map and it works exactly like in Castle Fight. Using regions.Trigger:
- Events
- Unit - A unit Is issued an order targeting a point
- Unit - A unit Is issued an order targeting an object
- Conditions
- And - All (Conditions) are true
- Conditions
- ((Ordered unit) is selected by (Owner of (Ordered unit))) Equal to True
- (Issued order) Equal to (Order(smart))
- Actions
- Unit - Order (Ordered unit) to Patrol To (Center of Demon Base <gen>)
remember this trigger is just for 1 team whos objective is to destroy Demon Base, quite easy.
just copy this trigger adding condition like unit belongs to an ally of player 7 equal to true...
(Issued order) Equal to (Order(smart)) is a condition that disables any movement of the unit when issued, this means that if a player issues a unit to do anything, like move somewhere, the unit will not do as said and it will continue to Patrol to Demon Base region.
also dont forget to add to units "Ward" classification.