| 03-04-2003, 06:34 PM | #1 |
im making a map and i made a few triggers and i was wondering if you could make a trigger that makes neutral units (neutral pasive and hostile) as one of you own ? in the pic you can see satyrs and i want to make it like this if a hero enters the black region that the satyrs that are in it would belong to the triggering player could you do that with triggers? |
| 03-04-2003, 06:56 PM | #2 |
Event: A unit enters region[your name] Action: Change unit[Your Unit] and change color to player 1. (I think this is right...);) |
| 03-04-2003, 09:42 PM | #3 |
To force changing of ownership of neutral hostile and passive... EVENTS Unit owned by Player 1 enters <region> (continue for all players) ACTIONS Unit Group - Pick every unit in center of <region> and do if (Owner of (Picked Unit)) Equal To Neutral Hostile then do Change ownership of (Picked Unit) to Triggering Player and change color Unit Group - Pick every unit in center of <region> and do if (Owner of (Picked Unit)) Equal To Neutral Passive then do Change ownership of (Picked Unit) to Triggering Player and change color |
| 03-04-2003, 09:55 PM | #4 |
Event: Event - Unit enters region01 Condtion: ((Entering unit) is a Hero equals to true) Action: Unit Group - Pick every unit in region01 and do if (player number of picked player > 11) then do (change ownership of picked unit) to player(player Number of entering unit) and change color |
