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

Secret Rooms.w3x
Variables
RooMs
Intro and Room 1
Good job1
Room 2
Room 2b
Good job2
Good job2b
Room 3
Room 3b
Room 3c
room 3 rock
room 3 generator
room 3 gate
Room 4
room 4 text
Room 4 lever
Room 5
Room 5 gate
Room 5 lever
Room 6
Room 6 gate
Room 6 grave
Room 6 lever
Room 7
Room 7 gate
Room 7 stone
Room 7 gate 2
Room 7 gate 2 Copy
Room 8
Room 8 gate
Lever 1
Lever 2
Lever 3
Room 8 generator
Room 9
Room 9 gate
Room 9 lever
Room 10
Room 10 gate
Room 10 lever
Room 11
Room 11 gate
Room 11 Runes
Room 11 lever
Room 12
Room 12 gate
Room 12 fountain 1
Room 12 blink back
Room 12 blink back 2
Room 12 fountain 2
Room 12 cave
Room 13
Room 12 lever
Room 14
Room 14 gate
Room 14 barrel
Room 14 explosing
Room 15
Room 15 gate
Room 15 lever
Camera Target-Sauron
Camera Target
Refresh
Refresh1
Refresh2
DEFEAT
DIE
WIN
WIN
Time
Time
Gates
Invulnerable gates
Patrols
Patrols
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
Intro and Room 1
  Events
    Time - Elapsed game time is 2.00 seconds
  Conditions
  Actions
    Game - Display to (All players) for 5.00 seconds the text: Welcome to my map.
    Wait 2 seconds
    Game - Display to (All players) for 6.00 seconds the text: You need to escape from some rooms. In all rooms there is a lever that opens the gate that leads you to the next room.
    Wait 5.00 seconds
    Game - Display to (All players) for 6.00 seconds the text: Look. This is the first room. Find the lever with your character [Sauron =)] and open the gate.
    Unit - Set Player 0003 <gen> movement speed to 300.00
Good job1
  Events
    Destructible - Lever 0003 <gen> dies
  Conditions
  Actions
    Game - Display to (All players) for 3.00 seconds the text: Good! Now go to the second room.
    Destructible - Open Iron Gate 0000 <gen>
Room 2
  Events
    Unit - A unit enters Room_2 <gen>
  Conditions
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0013 <gen>
    Destructible - Close Iron Gate 0000 <gen>
Room 2b
  Events
    Destructible - Cityscape Summer Tree Wall 0013 <gen> dies
  Conditions
  Actions
    Game - Display to (All players) for 2.00 seconds the text: Room 2
    Wait 1.00 seconds
    Game - Display to (All players) for 6.60 seconds the text: Look: the lever is behind the wall. Try to get across the wall.
Good job2
  Events
    Unit - A unit enters Wall_trough <gen>
  Conditions
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0014 <gen>
Good job2b
  Events
    Destructible - Cityscape Summer Tree Wall 0014 <gen> dies
  Conditions
  Actions
    Game - Display to (All players) for 10.00 seconds the text: Good job again! The wall is illusion. Through the map you can find some traps like this. Now hit the lever and go to the third room.
Room 3
  Events
    Destructible - Lever 0002 <gen> dies
  Conditions
  Actions
    Wait 1.00 seconds
    Destructible - Open Iron Gate 0001 <gen>
Room 3b
  Events
    Unit - A unit enters Room_3 <gen>
  Conditions
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0015 <gen>
    Destructible - Close Iron Gate 0001 <gen>
Room 3c
  Events
    Destructible - Cityscape Summer Tree Wall 0015 <gen> dies
  Conditions
  Actions
    Game - Display to (All players) for 2.00 seconds the text: Room 3
    Wait 1.00 seconds
    Game - Display to (All players) for 10.00 seconds the text: There is an enemy. If you stay close to it, it will attack you. Use your Shadow Meld ability to hide from it. The lever is defended with Magical Pen Wall. Try to destroy the walls.
    Unit - Add Shadow Meld to Player 0003 <gen>
room 3 rock
  Events
    Destructible - Rock Chunks 0052 <gen> dies
  Conditions
  Actions
    Wait 0.50 seconds
    Unit - Create 1 Energy Generator for Player 2 (Blue) at (Center of Energy_force <gen>) facing Default building facing degrees
room 3 generator
  Events
    Unit - A unit owned by Player 2 (Blue) Dies
  Conditions
  Actions
    Destructible - Remove Magical Pen Wall 0049 <gen>
    Destructible - Remove Magical Pen Wall 0050 <gen>
room 3 gate
  Events
    Destructible - Lever 0051 <gen> dies
  Conditions
  Actions
    Game - Display to (All players) for 7.50 seconds the text: Excellent! Now you know all what you need. Good luck in all rooms!-- |cffff0000Ordworse|r ---- |cffffcc00GOOD LUCK AGAIN!!!|r
    Destructible - Open Iron Gate 0025 <gen>
Room 4
  Events
    Unit - A unit enters Room_4 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0016 <gen>
    Destructible - Close Iron Gate 0025 <gen>
room 4 text
  Events
    Destructible - Cityscape Summer Tree Wall 0016 <gen> dies
  Conditions
  Actions
    Game - Display to (All players) for 2.00 seconds the text: Room 4
Room 4 lever
  Events
    Destructible - Lever 0147 <gen> dies
  Conditions
  Actions
    Destructible - Open Rolling Stone Door 0173 <gen>
    Game - Display to (All players) for 3.00 seconds the text: Good job!
Room 5
  Events
    Unit - A unit enters Room_5 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0017 <gen>
Room 5 gate
  Events
    Destructible - Cityscape Summer Tree Wall 0017 <gen> dies
  Conditions
  Actions
    Destructible - Close Rolling Stone Door 0173 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Room 5
Room 5 lever
  Events
    Destructible - Lever 0188 <gen> dies
  Conditions
  Actions
    Destructible - Open Iron Gate 0179 <gen>
    Game - Display to (All players) for 5.00 seconds the text: Excellent work!
Room 6
  Events
    Unit - A unit enters Room_6 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0018 <gen>
Room 6 gate
  Events
    Destructible - Cityscape Summer Tree Wall 0018 <gen> dies
  Conditions
  Actions
    Destructible - Close Iron Gate 0179 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Room 6
Room 6 grave
  Events
    Destructible - Kill me! 0210 <gen> dies
  Conditions
  Actions
    Destructible - Remove Magical Pen Wall 0198 <gen>
    Destructible - Remove Magical Pen Wall 0200 <gen>
    Destructible - Remove Magical Pen Wall 0199 <gen>
Room 6 lever
  Events
    Destructible - Lever 0197 <gen> dies
  Conditions
  Actions
    Destructible - Open Rolling Stone Door 0192 <gen>
    Game - Display to (All players) for 5.00 seconds the text: Too easy, huh? =)
Room 7
  Events
    Unit - A unit enters Room_7 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0019 <gen>
Room 7 gate
  Events
    Destructible - Cityscape Summer Tree Wall 0019 <gen> dies
  Conditions
  Actions
    Destructible - Close Rolling Stone Door 0192 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Room 7
Room 7 stone
  Events
    Unit - A unit enters Rock <gen>
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Game - Display to (All players) for 10.00 seconds the text: Something is written on this stone:" Press enter, and say: OPEN IRON GATE!" (without ")
Room 7 gate 2
  Events
    Player - Player 1 (Red) types a chat message containing OPEN IRON GATE! as An exact match
  Conditions
  Actions
    Destructible - Open Iron Gate 0211 <gen>
    Game - Display to (All players) for 5.00 seconds the text: Perfect words!
    Trigger - Turn off (This trigger)
Room 7 gate 2 Copy
  Events
    Player - Player 1 (Red) types a chat message containing OPEN IRON GATE as An exact match
  Conditions
  Actions
    Destructible - Open Iron Gate 0211 <gen>
    Game - Display to (All players) for 5.00 seconds the text: Perfect words!
    Trigger - Turn off (This trigger)
Room 8
  Events
    Unit - A unit enters Room_8 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0020 <gen>
Room 8 gate
  Events
    Destructible - Cityscape Summer Tree Wall 0020 <gen> dies
  Conditions
  Actions
    Destructible - Close Iron Gate 0211 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Room 8SAVE YOUR GAME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Lever 1
  Events
    Destructible - Lever 0244 <gen> dies
  Conditions
  Actions
    Unit - Kill Player 0003 <gen>
Lever 2
  Events
    Destructible - Lever 0243 <gen> dies
  Conditions
  Actions
    Unit - Kill Player 0003 <gen>
Lever 3
  Events
    Destructible - Lever 0245 <gen> dies
  Conditions
  Actions
    Destructible - Open Iron Gate 0240 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Fantastic!
Room 8 generator
  Events
    Unit - Energy Generator 0006 <gen> Dies
  Conditions
  Actions
    Destructible - Remove Magical Pen Wall 0222 <gen>
    Destructible - Remove Magical Pen Wall 0241 <gen>
    Destructible - Remove Magical Pen Wall 0242 <gen>
Room 9
  Events
    Unit - A unit enters Room_9 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0024 <gen>
Room 9 gate
  Events
    Destructible - Cityscape Summer Tree Wall 0024 <gen> dies
  Conditions
  Actions
    Destructible - Close Iron Gate 0240 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Room 9
Room 9 lever
  Events
    Destructible - Lever 0248 <gen> dies
  Conditions
  Actions
    Destructible - Open Iron Gate 0282 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Good job!
Room 10
  Events
    Unit - A unit enters Room_10 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0023 <gen>
Room 10 gate
  Events
    Destructible - Cityscape Summer Tree Wall 0023 <gen> dies
  Conditions
  Actions
    Destructible - Close Iron Gate 0282 <gen>
Room 10 lever
  Events
    Destructible - Lever 0298 <gen> dies
  Conditions
  Actions
    Game - Display to (All players) for 5.00 seconds the text: Now find the gate that you opened!
    Destructible - Open Iron Gate 0296 <gen>
Room 11
  Events
    Unit - A unit enters Room_11 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0022 <gen>
Room 11 gate
  Events
    Destructible - Cityscape Summer Tree Wall 0022 <gen> dies
  Conditions
  Actions
    Destructible - Close Iron Gate 0296 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Room 11
Room 11 Runes
  Events
    Unit - A unit enters RUNES <gen>
  Conditions
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0302 <gen>
    Destructible - Kill Cityscape Summer Tree Wall 0301 <gen>
    Destructible - Kill Cityscape Summer Tree Wall 0300 <gen>
    Unit - Order Room Monster 0013 <gen> to Patrol To (Center of Enemy10b <gen>)
Room 11 lever
  Events
    Destructible - Lever 0312 <gen> dies
  Conditions
  Actions
    Destructible - Open Iron Gate 0299 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Brilliant!
Room 12
  Events
    Unit - A unit enters Room_12 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Cityscape Summer Tree Wall 0021 <gen>
Room 12 gate
  Events
    Destructible - Cityscape Summer Tree Wall 0021 <gen> dies
  Conditions
  Actions
    Destructible - Close Iron Gate 0299 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Room 12
Room 12 fountain 1
  Events
    Unit - A unit enters Fountain <gen>
  Conditions
    ((Entering unit) is A ground unit) Equal to (gg_item_bzbe_0017 is owned)
  Actions
    Unit - Add Blink to Player 0003 <gen>
    Item - Remove gg_item_bzbe_0017
    Item - Create Full Vial at (Position of Player 0003 <gen>)
Room 12 blink back
  Events
    Unit - A unit enters Blink1 <gen>
  Conditions
  Actions
    Unit - Remove Blink from Player 0003 <gen>
    Item - Remove (Last created item)
Room 12 blink back 2
  Events
    Unit - A unit leaves Blink1 <gen>
  Conditions
  Actions
    Unit - Remove Blink from Player 0003 <gen>
    Item - Remove (Last created item)
    Unit - Create 1 Room Monster for Player 2 (Blue) at (Center of Enemy17a <gen>) facing 270.00 degrees
    Unit - Order (Last created unit) to Patrol To (Center of Enemy17b <gen>)
    Unit - Set (Last created unit) movement speed to 330.00
Room 12 fountain 2
  Events
    Unit - A unit enters Fountain2 <gen>
  Conditions
    ((Entering unit) is A ground unit) Equal to (gg_item_bzbe_0018 is owned)
  Actions
    Unit - Add Blink to Player 0003 <gen>
    Item - Remove gg_item_bzbe_0018
    Item - Create Full Vial at (Position of Player 0003 <gen>)
Room 12 cave
  Events
    Unit - A unit enters Cave <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Unit - Move Player 0003 <gen> instantly to (Center of Room_13 <gen>)
    Game - Display to (All players) for 2.00 seconds the text: Room 13SAVE YOUR GAME!!!!!!
Room 13
  Events
    Destructible - Lever 0848 <gen> dies
  Conditions
  Actions
    Destructible - Open Iron Gate 1051 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Not so hard =D
Room 12 lever
  Events
    Destructible - Lever 0748 <gen> dies
  Conditions
  Actions
    Destructible - Open Ruined Gate 0570 <gen>
    Game - Display to (All players) for 2.00 seconds the text: That's what I want!
Room 14
  Events
    Unit - A unit enters Room_14 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Northrend Tree Wall 0751 <gen>
    Item - Make gg_item_I001_0023 Invulnerable
Room 14 gate
  Events
    Destructible - Northrend Tree Wall 0751 <gen> dies
  Conditions
  Actions
    Destructible - Close Iron Gate 1051 <gen>
    Game - Display to (All players) for 2.00 seconds the text: Room 14
Room 14 barrel
  Events
    Unit - A unit enters Barrelboom <gen>
  Conditions
    (((Triggering unit) is A ground unit) Equal to (gg_item_I001_0023 is owned)) and ((Unit-type of (Entering unit)) Equal to Player (Standard))
  Actions
    Destructible - Remove Barrel 1127 <gen>
    Destructible - Create a LTex (destructablecode) at (Center of Barrel <gen>) facing (Random angle) with scale 1 and variation 0
    Wait 0.50 seconds
    Destructible - Kill (Random destructible in Barrel <gen>)
    Trigger - Turn off (This trigger)
Room 14 explosing
  Events
    Destructible - A destructible within Barrel <gen> dies
  Conditions
  Actions
    Wait 0.50 seconds
    Destructible - Create a B006 (destructablecode) at (Center of Fire <gen>) facing (Random angle) with scale 1 and variation 0
    Wait 1.30 seconds
    Destructible - Destroy Elven Gate 1125 <gen>
    Unit - Order Room Monster 0024 <gen> to Patrol To (Center of Enemy14b <gen>)
    Trigger - Turn off (This trigger)
Room 15
  Events
    Unit - A unit enters Room_15 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Destructible - Kill Northrend Tree Wall 0754 <gen>
Room 15 gate
  Events
    Destructible - Northrend Tree Wall 0754 <gen> dies
  Conditions
  Actions
    Game - Display to (All players) for 5.00 seconds the text: Room 15Final room
Room 15 lever
  Events
    Destructible - Lever 1138 <gen> dies
  Conditions
  Actions
    Destructible - Destroy City Entrance 1124 <gen>
Camera Target
  Events
    Time - Elapsed game time is 0.01 seconds
  Conditions
  Actions
    Camera - Lock camera target for Player 1 (Red) to Player 0003 <gen>, offset by (0, 0) using Default rotation
Refresh1
  Events
    Unit - A unit enters Refresh <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Trigger - Turn off (This trigger)
    Unit - Set life of Player 0003 <gen> to (Max life of Player 0003 <gen>)
    Game - Display to (All players) for 2.00 seconds the text: You are refreshed.
Refresh2
  Events
    Unit - A unit enters Refresh_2 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Trigger - Turn off (This trigger)
    Unit - Set life of Player 0003 <gen> to (Max life of Player 0003 <gen>)
    Game - Display to (All players) for 2.00 seconds the text: You are refreshed.
DIE
  Events
    Unit - Player 0003 <gen> Dies
  Conditions
  Actions
    Wait 2 seconds
    Game - Defeat Player 1 (Red) with the message: You're killed!
WIN
  Events
    Unit - A unit enters END <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Player (Standard)
  Actions
    Game - Display to (All players) for 5.00 seconds the text: YOU HAVE ESCAPED!!!
    Wait 4.00 seconds
    Game - Victory Player 1 (Red) (Skip dialogs, Skip scores)
Time
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
  Actions
    Game - Set the time of day to 5.00
    Game - Set time of day speed to 0.01% of the default speed
Invulnerable gates
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
  Actions
    Destructible - Make Iron Gate 0000 <gen> Invulnerable
    Destructible - Make Iron Gate 0001 <gen> Invulnerable
    Destructible - Make Iron Gate 0025 <gen> Invulnerable
    Destructible - Make Iron Gate 0179 <gen> Invulnerable
    Destructible - Make Iron Gate 0211 <gen> Invulnerable
    Destructible - Make Iron Gate 0240 <gen> Invulnerable
    Destructible - Make Iron Gate 0282 <gen> Invulnerable
    Destructible - Make Iron Gate 0299 <gen> Invulnerable
    Destructible - Make Iron Gate 1051 <gen> Invulnerable
    Destructible - Make Elven Gate 1125 <gen> Invulnerable
    Destructible - Make Ruined Gate 0570 <gen> Invulnerable
    Destructible - Make Magical Pen Wall 0049 <gen> Invulnerable
    Destructible - Make Magical Pen Wall 0050 <gen> Invulnerable
    Destructible - Make Magical Pen Wall 0200 <gen> Invulnerable
    Destructible - Make Magical Pen Wall 0198 <gen> Invulnerable
    Destructible - Make Magical Pen Wall 0199 <gen> Invulnerable
    Destructible - Make Magical Pen Wall 0222 <gen> Invulnerable
    Destructible - Make Magical Pen Wall 0241 <gen> Invulnerable
    Destructible - Make Magical Pen Wall 0242 <gen> Invulnerable
    Destructible - Make Rolling Stone Door 0173 <gen> Invulnerable
    Destructible - Make Rolling Stone Door 0192 <gen> Invulnerable
    Destructible - Make City Entrance 1124 <gen> Invulnerable
    Destructible - Make Barrel 1127 <gen> Invulnerable
Patrols
  Events
    Time - Elapsed game time is 5 seconds
  Conditions
  Actions
    Unit - Order Room Monster 0000 <gen> to Patrol To (Center of Enemy1a <gen>)
    Unit - Order Room Monster 0002 <gen> to Patrol To (Center of Enemy2b <gen>)
    Unit - Order Room Monster 0004 <gen> to Patrol To (Center of Enemy3b <gen>)
    Unit - Order Room Monster 0005 <gen> to Patrol To (Center of Enemy4b <gen>)
    Unit - Order Room Monster 0007 <gen> to Patrol To (Center of Enemy5b <gen>)
    Unit - Order Room Monster 0008 <gen> to Patrol To (Center of Enemy6b <gen>)
    Unit - Order Room Monster 0011 <gen> to Patrol To (Center of Enemy7b <gen>)
    Unit - Order Room Monster 0012 <gen> to Patrol To (Center of Enemy8b <gen>)
    Unit - Order Room Monster 0010 <gen> to Patrol To (Center of Enemy9b <gen>)
    Unit - Order Room Monster 0014 <gen> to Patrol To (Center of Enemy10b <gen>)
    Unit - Order Room Monster 0021 <gen> to Patrol To (Center of Enemy12b <gen>)
    Unit - Order Room Monster 0022 <gen> to Patrol To (Center of Enemy13b <gen>)
    Unit - Order Room Monster 0025 <gen> to Patrol To (Center of Enemy15b <gen>)
    Unit - Order Room Monster 0026 <gen> to Patrol To (Center of Enemy16b <gen>)