1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  5. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  6. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  7. The results are out! Check them out.
    Dismiss Notice
  8. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  9. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  10. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

UndeadX01Interlude.w3x
Variables
Initialization
Initialization
Init 01 Players
Init 02 Units
Init 03 Music
Init 04 Environment
Intro Cinematic
Intro Cinematic
Intro Skipped
Run Next Level
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.

		
Name Type Is Array Initial Value
AP1_Player player No Player00
AP2_Player player No Player01
APG1_Player force No
Arthas unit No
Balnazzar unit No
Banshee unit No
Detheroc unit No
IntroSkipped boolean No
KelThuzad unit No
LichKing unit No
Sylvanas unit No
Varimathras unit No
Template version 1.00
Initialization
  Events
    Map initialization
  Conditions
  Actions
    Game - Set ally color filtering to 0
    Trigger - Run Init_01_Players <gen> (checking conditions)
    Trigger - Run Init_02_Units <gen> (checking conditions)
    Trigger - Run Init_03_Music <gen> (checking conditions)
    Trigger - Run Init_04_Environment <gen> (checking conditions)
    -------- Start Intro Cinematic --------
    Trigger - Run Intro_Cinematic <gen> (checking conditions)
Init 01 Players
  Events
  Conditions
  Actions
    Player Group - Add Player 1 (Red) to APG1_Player
    Player Group - Add AP2_Player to APG1_Player
    -------- Alliance Settings --------
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Player - Make (Picked player) treat Player 6 (Orange) as an Neutral
        Player - Make (Picked player) treat Player 7 (Green) as an Neutral
        Player - Make Player 6 (Orange) treat (Picked player) as an Neutral
        Player - Make Player 7 (Green) treat (Picked player) as an Neutral
    Player - Make Player 6 (Orange) treat Player 7 (Green) as an Neutral
    Player - Make Player 7 (Green) treat Player 6 (Orange) as an Neutral
    -------- Player Colors --------
    Player - Change color of Player 6 (Orange) to Purple, Changing color of existing units
Init 02 Units
  Events
  Conditions
  Actions
    -------- Heroes --------
    Player Group - Pick every player in (All players) and do (Make (Picked player) Heroes gain 0.00% experience from future kills)
    Set Balnazzar = Dreadlord 0001 <gen>
    Set Detheroc = Dreadlord 0004 <gen>
    Set Varimathras = Dreadlord 0007 <gen>
    Set Sylvanas = Dark Ranger 0003 <gen>
    Unit - Change color of Sylvanas to Blue
Init 03 Music
  Events
  Conditions
  Actions
    Sound - Clear the music list
    Wait 0.01 seconds
    Sound - Play Dark Agents, skipping the first 9.00 seconds
    Sound - Set the music list to Music, starting with song 0
Init 04 Environment
  Events
  Conditions
  Actions
    -------- Initial Time Of Day --------
    Game - Set the time of day to 23.00
    Game - Turn the day/night cycle Off
    -------- Weather Effects --------
    -------- Set Sky --------
    Environment - Set sky to Felwood Sky
    -------- Fog --------
    -------- Initial Visibility --------
    -------- Bridges, Gates, etc. --------
Intro Cinematic
  Events
  Conditions
  Actions
    -------- Fade Out --------
    Cinematic - Fade out over 0.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    -------- Set Up Scene --------
    Cinematic - Turn cinematic mode On for APG1_Player
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_SylvanasRunStart for (Picked player) over 0 seconds
        Camera - Apply gg_cam_SylvanasRunEnd for (Picked player) over 6.00 seconds
    -------- Fade In --------
    Unit - Order Sylvanas to Move To (Center of SylvanasRunEnd <gen>)
    Cinematic - Fade in over 2.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 0.30 seconds
    Sound - Set Music to 100%
    Wait 4.00 seconds
    Trigger - Turn on Intro_Skipped <gen>
    -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
    -------- CINEMATIC BEGINS - Cinematic Can Now Be Skipped --------
    -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
    Cinematic - Fade out over 1.45 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.45 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Move Sylvanas instantly to (Center of SylvanasJumpTo <gen>)
    Unit - Order Sylvanas to Move To (Center of SylvanasRidge <gen>)
    Wait 0.30 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - Change camera smoothing factor to 10.00
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_OverRidgeA for (Picked player) over 0.00 seconds
        Camera - Apply gg_cam_OverRidgeB for (Picked player) over 5.00 seconds
    Cinematic - Fade in over 1.30 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 6.00 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Fade out over 1.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.50 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Move Sylvanas instantly to (Center of SylvanasJumpToA <gen>)
    Unit - Order Sylvanas to Move To (Center of SylvanasTalkStart <gen>)
    Camera - Reset camera smoothing factor
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_LadySylvanas for (Picked player) over 0.00 seconds
    Cinematic - Fade in over 1.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.50 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_LadySylvanasA for (Picked player) over 10.00 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from Dreadlord 0001 <gen> named Balnazzar: Play L01Balnazzar47 <gen> and display Lady Sylvanas. We are pleased that you came.. Modify duration: Add 0 seconds and Wait
    Wait for L01Balnazzar47 <gen> to be 0 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from Dark Ranger 0003 <gen> named Sylvanas Windrunner: Play L01Sylvanas48 <gen> and display How could I not? For some reason I no longer hear the Lich King's voice in my head. My will is my own once again.. Modify duration: Add 0 seconds and Wait
    Wait for L01Sylvanas48 <gen> to be 0 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_YouDreadlords for (Picked player) over 0.00 seconds
    Cinematic - Send transmission to (All players) from Dark Ranger 0003 <gen> named Sylvanas Windrunner: Play L01Sylvanas49 <gen> and display You dreadlords seem to know why. . Modify duration: Add 0 seconds and Wait
    Wait for L01Sylvanas49 <gen> to be 0 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_WeveDiscovered for (Picked player) over 0.00 seconds
    Cinematic - Send transmission to (All players) from Dreadlord 0007 <gen> named Varimathras: Play L01Varimathras50 <gen> and display We've discovered that the Lich King is losing his power! As it wanes, so too does his ability to command undead such as you.. Modify duration: Add 0 seconds and Wait
    Wait for L01Varimathras50 <gen> to be 0 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from Dark Ranger 0003 <gen> named Sylvanas Windrunner: Play L01Sylvanas51 <gen> and display And what of King Arthas? What about his powers? . Modify duration: Add 0 seconds and Wait
    Sound - Play Dark Agents, skipping the first 9.00 seconds
    Wait for L01Sylvanas51 <gen> to be 0 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_ThoughHisRuneblade for (Picked player) over 0.00 seconds
    Cinematic - Send transmission to (All players) from Dreadlord 0001 <gen> named Balnazzar: Play L01Balnazzar52 <gen> and display Though his runeblade, Frostmourne, carries powerful enchantments, Arthas' own powers will fade in time. It is inevitable. . Modify duration: Add 0 seconds and Wait
    Wait for L01Balnazzar52 <gen> to be 0 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from Dark Ranger 0003 <gen> named Sylvanas Windrunner: Play L01Sylvanas53 <gen> and display You seek to overthrow him, and you want my help to do it. . Modify duration: Add 0 seconds and Wait
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_TheLegionMayBe for (Picked player) over 0.00 seconds
        Camera - Apply gg_cam_TheLegionMayBeA for (Picked player) over 8.00 seconds
    Cinematic - Send transmission to (All players) from Dreadlord 0004 <gen> named Detheroc: Play L01Detheroc54 <gen> and display The Legion may be defeated, but we are the Nathrezim! We'll not let some upstart human get the best of us! Arthas must fall!. Modify duration: Add 0 seconds and Wait
    Wait for L01Detheroc54 <gen> to be 0.00 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from Dreadlord 0001 <gen> named Balnazzar: Play L01Balnazzar55 <gen> and display The lich, Kel'Thuzad, is far too loyal to betray his master. But you, on the other hand.... Modify duration: Add 0 seconds and Don't wait
    Wait for L01Balnazzar55 <gen> to be 6.00 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_HateHim for (Picked player) over 7.00 seconds
    Wait 6.30 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from Dark Ranger 0003 <gen> named Sylvanas Windrunner: Play L01Sylvanas56 <gen> and display Hate him. I have my own reasons for seeking vengeance. Arthas murdered my people and turned me into this... monstrosity.. Modify duration: Add 0 seconds and Wait
    Sound - Play Dark Agents, skipping the first 9.00 seconds
    Wait for L01Sylvanas56 <gen> to be 0.00 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Sylvanas to Move To (Center of SylvanasLeave <gen>)
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_HateHim for (Picked player) over 5.00 seconds
    Wait 2.00 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Make Sylvanas face Balnazzar over 0.45 seconds
    Cinematic - Send transmission to (All players) from Dark Ranger 0003 <gen> named Sylvanas Windrunner: Play L01Sylvanas57 <gen> and display I may take part in your bloody coup, but I will do so in my own way. . Modify duration: Add 0 seconds and Wait
    Wait for L01Sylvanas57 <gen> to be 0.00 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Fade out over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_SylvanasLeaveA for (Picked player) over 0.00 seconds
    Unit - Move Sylvanas instantly to (Center of SylvanasLeaveA <gen>)
    Unit - Order Sylvanas to Move To (Center of SylvanasLeaveB <gen>)
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_DreadlordAlone for (Picked player) over 5.00 seconds
    Cinematic - Fade in over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 6.00 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Fade out over 0.20 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 0.20 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Camera - Apply gg_cam_IForOne for (Picked player) over 0.00 seconds
    Cinematic - Fade in over 0.20 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Sound - Set Music to 60.00%
    Sound - Play Comradeship
    Wait 0.50 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Balnazzar to Move To (Center of BalnazzarWalkTo <gen>)
    Cinematic - Send transmission to (All players) from Dreadlord 0001 <gen> named Balnazzar: Play L01Balnazzar58 <gen> and display I, for one, do not trust her. Her heart is still elven. She will never side with us. . Modify duration: Add 0 seconds and Don't wait
    Wait for L01Balnazzar58 <gen> to be 0.00 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Make Balnazzar face Varimathras over 0.40 seconds
    Cinematic - Send transmission to (All players) from Dreadlord 0007 <gen> named Varimathras: Play L01Varimathras59 <gen> and display Don't be too hasty. She has great spirit, but her hatred for Arthas will ultimately serve our cause. . Modify duration: Add 0 seconds and Don't wait
    Wait for L01Varimathras59 <gen> to be 0.00 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Make Detheroc face Varimathras over 0.40 seconds
    Cinematic - Send transmission to (All players) from Dreadlord 0004 <gen> named Detheroc: Play L01Detheroc60 <gen> and display Agreed. Well, if that's settled--let the festivities commence. . Modify duration: Add 0 seconds and Don't wait
    Wait for L01Detheroc60 <gen> to be 0.00 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Wait 0.50 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
    -------- CINEMATIC ENDS - Cinematic Can No Longer Be Skipped --------
    -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
    Trigger - Turn off Intro_Skipped <gen>
    -------- Fade Out --------
    Cinematic - Fade out over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Trigger - Run Run_Next_Level <gen> (checking conditions)
Intro Skipped
  Events
    Player - Player 1 (Red) skips a cinematic sequence
    Player - Player 2 (Blue) skips a cinematic sequence
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Set IntroSkipped = True
    -------- Fade Out --------
    Cinematic - Fade out over 0.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 0.50 seconds
    Trigger - Run Run_Next_Level <gen> (checking conditions)
Run Next Level
  Events
  Conditions
  Actions
    -------- Set Next Level and Victory --------
    Player Group - Pick every player in APG1_Player and do (Actions)
      Loop - Actions
        Game - Victory (Picked player) (Skip dialogs, Skip scores)