Code Tags
Post the trigger please betweenCode:Code Tags
Most people aren't fond of downloading maps if it only concerns one trigger.
Init
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Trigger - Add to LeftKey <gen> the event (Player - (Player((Integer A))) Presses the Left Arrow key)
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Trigger - Add to RightKey <gen> the event (Player - (Player((Integer A))) Presses the Right Arrow key)
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Trigger - Add to UpKey <gen> the event (Player - (Player((Integer A))) Presses the Up Arrow key)
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Trigger - Add to DownKey <gen> the event (Player - (Player((Integer A))) Presses the Down Arrow key)
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Trigger - Add to KeyUp <gen> the event (Player - (Player((Integer A))) Releases the Down Arrow key)
Trigger - Add to KeyUp <gen> the event (Player - (Player((Integer A))) Releases the Right Arrow key)
Trigger - Add to KeyUp <gen> the event (Player - (Player((Integer A))) Releases the Left Arrow key)
Trigger - Add to KeyUp <gen> the event (Player - (Player((Integer A))) Releases the Up Arrow key)
Visibility - Disable fog of war
Visibility - Disable black mask
Game - Set the time of day to 13.00
Game - Turn the day/night cycle Off
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Value Not equal to -1
Then - Actions
Cinematic - Turn cinematic mode On for (Player group((Player((Integer A)))))
Else - Actions
Sound - Reset all volume channels to 100%
Sound - Play war3mapImported\NGLYD.mp3
Trigger - Add to FlipImage <gen> the event (Time - Every 1.00 seconds of game time)
For each (Integer A) from 1 to 212, do (Actions)
Loop - Actions
Wait 1.00 seconds
Set frame = (Integer A)
Set filename = ((Substring(000, 1, (3 - (Length of (String(frame)))))) + (String(frame)))
Set path = (war3mapImported\ + (filename + .blp))
Game - Display to (All players) for 30.00 seconds the text: path
Custom script: call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 0.00, udg_path, 100.00, 100.00, 100.00, 0 )
Cinematic - Fade out over 0.00 seconds using texture war3mapImported\001.blp and color (100.00%, 100.00%, 100.00%) with 0.00% transparency
Cinematic - Turn cinematic mode Off for (All players)
Trigger - Turn off Escape <gen>
Wait 3.00 seconds
Custom script: call CinematicFadeBJ( bj_CINEFADETYPE_FADEIN, 0.00, "war3mapImported\\001.blp", 100.00, 100.00, 100.00, 0 )
Cinematic - Fade in over 0.00 seconds using texture war3mapImported\001.blp and color (100.00%, 100.00%, 100.00%) with 0.00% transparency
FlipImage
Events
Conditions
Actions
Game - Enable selection and deselection functionality (Enable selection circles)
Set frame = (frame + 1)
Set filename = ((Substring(000, 1, (3 - (Length of (String(frame)))))) + (String(frame)))
Set path = (war3mapImported\ + (filename + .blp))
Custom script: call CinematicFadeBJ( bj_CINEFADETYPE_FADEOUT, 0.00, udg_path, 100.00, 100.00, 100.00, 0 )
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
frame Equal to 212
Then - Actions
Cinematic - Turn cinematic mode Off for (All players)
Trigger - Turn off (This trigger)
Trigger - Turn off Escape <gen>
Else - Actions
Escape
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Game - Unpause the game
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Else - Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
left[(Integer A)] Equal to True
right[(Integer A)] Equal to True
up[(Integer A)] Equal to True
down[(Integer A)] Equal to True
Then - Actions
Set unlock[(Integer A)] = True
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
unlock[(Integer A)] Not equal to True
Then - Actions
Game - Force (Player((Integer A))) to press Escape/Cancel
Else - Actions
Trigger - Run ([COLOR="Red"]Trigger[/COLOR]) (checking conditions)
or (If it hasn't got any conditions)
Trigger - Run ([COLOR="Red"]Trigger[/COLOR]) (ignoring conditions)
What are you asking for?
-If you want to "replay" all the triggers at the end u can just do this:
Code:Trigger - Run ([COLOR="Red"]Trigger[/COLOR]) (checking conditions) or (If it hasn't got any conditions) Trigger - Run ([COLOR="Red"]Trigger[/COLOR]) (ignoring conditions)
Change this to the trigger u want.
Trigger - Run (Restart) (checking conditions)