So I've got a problem with my cinematic involving glitchey wait functions. The cinematic works but when it reads the wait function, it freezes on the cinematic. I'm not worried about memory leaks atm. Heres my trigger;
Opening Cinematic
Events
Map initialization
Conditions
Actions
Set Players[1] = (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)))
Player Group - Pick every player in Players[1] and do (Actions)
Loop - Actions
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Disable user control for (All players)
Hero - Give Undead's Flag 0024 <gen> to Undead Protector 0025 <gen>
Hero - Give Nature's Flag 0023 <gen> to Nature Protector 0026 <gen>
Sound - Play Credits <gen>
Sound - Set music volume to 0.00%
Camera - Pan camera for (Picked player) to (Center of (Playable map area)) over 0.00 seconds
Wait 1.00 seconds
Game - Display to (All players) for 3.00 seconds the text: |cFF1874CDWelcome t...
Wait 3.00 seconds
Environment - Set sky to Lordaeron Summer Sky
Sound - Set Fire Sounds to 0.00%
Camera - Apply Nature Golem 1 <gen> for (Picked player) over 1.50 seconds
Sound - Play SentinelsGlueScreen <gen>
Wait 2.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cff00FF00The Undea...
Sound - Play NatureGolem <gen> at 100.00% volume, located at (Center of Flag Return Nature <gen>) with Z offset 0.00
Camera - Rotate camera 240.00 degrees around (Center of Flag Return Nature <gen>) for (Picked player) over 5.50 seconds
Wait 6.00 seconds
Camera - Apply Map Centre <gen> for (Picked player) over 0.80 seconds
Wait 0.60 seconds
Sound - Set Fire Sounds to 0.00%
Camera - Apply Undead Golem 1 <gen> for (Picked player) over 0.80 seconds
Sound - Play ScourgeGlueScreen <gen>
Wait 2.00 seconds
Environment - Set sky to Felwood Sky
Game - Display to (All players) for 5.00 seconds the text: |cff8B4513The Natur...
Sound - Play UndeadGolem <gen> at 80.00% volume, located at (Center of Flag Return Undead <gen>) with Z offset 0.00
Camera - Rotate camera 240.00 degrees around (Center of Flag Return Undead <gen>) for (Picked player) over 5.50 seconds
Wait 1.85 seconds
Sound - Stop UndeadGolem <gen> Immediately
Wait 4.15 seconds
Camera - Apply Playable Camera <gen> for (Picked player) over 1.75 seconds
Wait 1.75 seconds
Game - Display to (All players) for 6.00 seconds the text: |cFF1874CDNow Pick ...
Sound - Play GameBegin <gen>
Sound - Stop music Immediately
Sound - Play War2IntroMusic <gen>
Sound - Set music volume to 70.00%
Sound - Set Fire Sounds to 75.00%
Sound - Set Combat Sounds to 80.00%
Sound - Set Unit Response Sounds to 80.00%
Sound - Set Ambient Sounds to 85.00%
Environment - Set sky to None
Wait 1.00 seconds
Cinematic - Enable user control for (All players)
Cinematic - Turn cinematic mode Off for (All players)
Wait 20.00 seconds
Trigger - Turn on Nature Spawn Run <gen>
Trigger - Turn on Undead Spawn Run <gen>
Opening Cinematic
Events
Map initialization
Conditions
Actions
Set Players[1] = (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)))
Player Group - Pick every player in Players[1] and do (Actions)
Loop - Actions
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Disable user control for (All players)
Hero - Give Undead's Flag 0024 <gen> to Undead Protector 0025 <gen>
Hero - Give Nature's Flag 0023 <gen> to Nature Protector 0026 <gen>
Sound - Play Credits <gen>
Sound - Set music volume to 0.00%
Camera - Pan camera for (Picked player) to (Center of (Playable map area)) over 0.00 seconds
Wait 1.00 seconds
Game - Display to (All players) for 3.00 seconds the text: |cFF1874CDWelcome t...
Wait 3.00 seconds
Environment - Set sky to Lordaeron Summer Sky
Sound - Set Fire Sounds to 0.00%
Camera - Apply Nature Golem 1 <gen> for (Picked player) over 1.50 seconds
Sound - Play SentinelsGlueScreen <gen>
Wait 2.00 seconds
Game - Display to (All players) for 5.00 seconds the text: |cff00FF00The Undea...
Sound - Play NatureGolem <gen> at 100.00% volume, located at (Center of Flag Return Nature <gen>) with Z offset 0.00
Camera - Rotate camera 240.00 degrees around (Center of Flag Return Nature <gen>) for (Picked player) over 5.50 seconds
Wait 6.00 seconds
Camera - Apply Map Centre <gen> for (Picked player) over 0.80 seconds
Wait 0.60 seconds
Sound - Set Fire Sounds to 0.00%
Camera - Apply Undead Golem 1 <gen> for (Picked player) over 0.80 seconds
Sound - Play ScourgeGlueScreen <gen>
Wait 2.00 seconds
Environment - Set sky to Felwood Sky
Game - Display to (All players) for 5.00 seconds the text: |cff8B4513The Natur...
Sound - Play UndeadGolem <gen> at 80.00% volume, located at (Center of Flag Return Undead <gen>) with Z offset 0.00
Camera - Rotate camera 240.00 degrees around (Center of Flag Return Undead <gen>) for (Picked player) over 5.50 seconds
Wait 1.85 seconds
Sound - Stop UndeadGolem <gen> Immediately
Wait 4.15 seconds
Camera - Apply Playable Camera <gen> for (Picked player) over 1.75 seconds
Wait 1.75 seconds
Game - Display to (All players) for 6.00 seconds the text: |cFF1874CDNow Pick ...
Sound - Play GameBegin <gen>
Sound - Stop music Immediately
Sound - Play War2IntroMusic <gen>
Sound - Set music volume to 70.00%
Sound - Set Fire Sounds to 75.00%
Sound - Set Combat Sounds to 80.00%
Sound - Set Unit Response Sounds to 80.00%
Sound - Set Ambient Sounds to 85.00%
Environment - Set sky to None
Wait 1.00 seconds
Cinematic - Enable user control for (All players)
Cinematic - Turn cinematic mode Off for (All players)
Wait 20.00 seconds
Trigger - Turn on Nature Spawn Run <gen>
Trigger - Turn on Undead Spawn Run <gen>