ok well this isn't the entire trigger but just the part i'm guessing it gets stuck at
at the bolded part is the place i believe it gets stuck at...whats ment to happen is all units that are dead revive then move to a specific place (different place from "winner" (which is a variable set to a unit who has won the game...der ) )which all works fine then a couple seconds later the camera changes to a different place on map ...nowhere near anything thats going on...then the whole event stops and it dosn't go anyfurther... anyhelps great thxs
Code:
win
Events
Unit - A unit Dies
Conditions
Actions
Trigger - Turn off (This trigger)
Set winner = (Killing unit)
Trigger - Turn off Dies <gen>
Trigger - Turn off create <gen>
Game - Display to (All players) the text: ((Name of (Owner of winner)) + has attained the rank of Stealth Master!)
Trigger - Run end allys <gen> (ignoring conditions)
Wait 5.00 seconds
Cinematic - Turn cinematic mode On for (All players)
[B] Unit Group - Pick every unit in (Units of type Stealth Assassin) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is dead) Equal to True
Then - Actions
Hero - Instantly revive (Picked unit) at (Random point in Region 004 <gen>), Hide revival graphics
Else - Actions
Unit - Move (Picked unit) instantly to (Random point in Region 004 <gen>), facing (Center of Region 005 <gen>)
Camera - Apply ending cam <gen> for (Owner of (Picked unit)) over 0.00 seconds
Unit - Move winner instantly to (Center of Region 005 <gen>), facing (Center of Region 004 <gen>)
Visibility - Disable fog of war
Visibility - Disable black mask[/B]
Cinematic - Send transmission to (All players) from winner named (Name of (Owner of winner)): Play No sound and display The battle has ende.... Modify duration: Add 0.00 seconds and Wait
Wait 2.00 seconds
Special Effect - Create a special effect at (Center of Region 006 <gen>) using Abilities\Spells\Human\FlameStrike\FlameStrikeTarget.mdl
Special Effect - Create a special effect at (Center of Region 006 <gen>) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
Unit Group - Pick every unit in (Units in Region 006 <gen>) and do (Actions)
Loop - Actions
Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
Unit - Kill (Picked unit)
Wait 10.00 seconds
Player Group - Pick every player in (All enemies of (Owner of winner)) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Failure is Death!
Game - Victory (Owner of winner) (Show dialogs, Show scores)