| 07-29-2003, 07:09 AM | #1 |
I want a trigger to activate when all the units owned by player 3 are dead. However, everything after the last camera change happened after all the units died, then a minute or so later, everything above the last camera change happened. Here's the trigger, with the actual cinematic cut out. Code:
Chitchat
Events
Unit - A unit owned by Player 3 (Teal) Dies
Conditions
(Number of units in (Units in ExNE <gen> owned by Player 3 (Teal))) Equal to 0
Actions
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
Cinematic - Fade out over 1.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
Camera - Apply Ex5 <gen> for Player 1 (Red) over 1.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (Center of PartyStart <gen>)
Unit - Move Phil instantly to (Center of ExPhil <gen>), facing (Center of ExCarter <gen>)
Unit - Move Paladin 0000 <gen> instantly to (Center of ExCarter <gen>), facing (Center of ExPhil <gen>)
Wait 0.95 seconds
Cinematic - <-snip snip, just my chitchat->
Unit Group - Pick every unit in (Units in PartyStart <gen> owned by Player 1 (Red)) and do (Unit - Move (Picked unit) instantly to (Center of ExNE <gen>))
Camera - Apply Ex4 <gen> for Player 1 (Red) over 2.00 seconds
Cinematic - Turn off letterbox mode (show interface) for (All players): fade in over 2.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
Unit - Change ownership of Paladin 0000 <gen> to Player 1 (Red) and Retain color
Set Carter = (Ownership-changed unit)
Unit Group - Pick every unit in (Units owned by Player 2 (Blue)) and do (Unit - Change ownership of (Picked unit) to Player 1 (Red) and Change color) |
| 07-29-2003, 07:32 AM | #2 |
it fires off twice cause teal has untis creatred post that, and they die. only explination i can see. |
