| 11-27-2002, 11:47 PM | #1 |
As we all know, I suck with triggers. Can someone help me set up a trigger so that when both player one and two leave reigon A all units owner by player 11 get teleported to region X. I can figure this out. I am using WE-Pro 01 if thats any help. Everytime i try and make the units teleport instantly to region X player 1s units teleport there. |
| 11-28-2002, 04:10 AM | #2 |
Event: ----A unit owned by Player 1 leaves region (the region) ----A unit owned by Player 2 leaves region (the region) Action: ----Set variable Leave[(player number of (triggering player))] = True Leave is a boolean variable (array) Next: Event: ----Every 2 seconds of game time Condition: ----Leave[1] is equal to true ----leave[2] is equal to true Action: ----Pick every unit in (units owned by player 1) and do, move (picked unit) to region (where they move) ----Pick every unit in (units owned by player 2) and do, move (picked unit) to region (where they move) There, that should help, i think. Make sure, at map initilization, you set leave[1] and leave[2] to false. |
| 11-28-2002, 06:05 AM | #3 |
Im truly sorry but how do u do a unit owned by player 1 or 2 i really appriciate you help for everything |
| 11-28-2002, 06:45 AM | #4 |
The event is something like Unit- Player-owned unit event. |
| 11-28-2002, 01:02 PM | #5 | |||
Quote:
Quote:
Quote:
|
