Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Wizard Tower v1.7.7a.w3x
Variables
Map Initialization
Difficulty Selection
Gold
Player Check Red
Player Check Blue
Player Check Teal
Player Check Purple
Time
All
AutoChoose
Spawn Start
Upgrade Units
Upgrade Units 2
Easy
Difficulty Easy
EUpgrade Ghoul
EUpgrade Ghoul 2
EUpgrade Monster
EUpgrade Monster 2
EUpgrade Fiend
EUpgrade Fiend 2
EFinal Upgrade
Normal
Difficulty Normal
NUpgrade Ghoul
NUpgrade Ghoul 2
NUpgrade Monster
NUpgrade Monster 2
NUpgrade Fiend
NUpgrade Fiend 2
NFinal Upgrade
Hard
Difficulty Hard
HUpgrade Ghoul
HUpgrade Ghoul 2
HUpgrade Monster
HUpgrade Monster 2
HUpgrade Fiend
HUpgrade Fiend 2
HFinal Upgrade
Undead
Attack BL
Attack BR
Attack TL
Attack TR
Spawn Ghoul
Spawn Monster
Spawn Fiend
The End
Defeat
Defeat
Defeat Death
Defeat Time
Victory
Boss Victory
Victory
Boss
Boss Effect
Boss
Cool Effects
Notes
Wait for selection
Ready
Incoming
Upgrades
Upgrade
Unit Upgrade
Timers
Countdown Timer
Change Timer
Change Timer Defeat
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
DialogButton
button
Yes
Selection
dialog
No
Timer
timer
No
TimerWindow
timerdialog
No
Wizard
unitcode
No
u003
Difficulty Selection
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Dialog - Create a dialog button for Selection labelled Easy
Set Variable Set DialogButton[1] = (Last created dialog Button)
Dialog - Create a dialog button for Selection labelled Normal
Set Variable Set DialogButton[2] = (Last created dialog Button)
Dialog - Create a dialog button for Selection labelled Hard
Set Variable Set DialogButton[3] = (Last created dialog Button)
Dialog - Change the title of Selection to Difficulty Selection
Dialog - Show Selection for Player 1 (Red)
Gold
Events
Map initialization
Conditions
Actions
Player - Turn Gives bounty On for Player 12 (Brown)
Player Check Red
Events
Map initialization
Conditions
(Player 1 (Red) slot status) Equal to Is unused
Actions
Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision and full shared units
Player - Make Player 1 (Red) treat Player 3 (Teal) as an Ally with shared vision and full shared units
Player - Make Player 1 (Red) treat Player 4 (Purple) as an Ally with shared vision and full shared units
Player Check Blue
Events
Map initialization
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
Actions
Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision and full shared units
Player - Make Player 2 (Blue) treat Player 3 (Teal) as an Ally with shared vision and full shared units
Player - Make Player 2 (Blue) treat Player 4 (Purple) as an Ally with shared vision and full shared units
Player Check Teal
Events
Map initialization
Conditions
(Player 3 (Teal) slot status) Equal to Is unused
Actions
Player - Make Player 3 (Teal) treat Player 1 (Red) as an Ally with shared vision and full shared units
Player - Make Player 3 (Teal) treat Player 2 (Blue) as an Ally with shared vision and full shared units
Player - Make Player 3 (Teal) treat Player 4 (Purple) as an Ally with shared vision and full shared units
Player Check Purple
Events
Map initialization
Conditions
(Player 4 (Purple) slot status) Equal to Is unused
Actions
Player - Make Player 4 (Purple) treat Player 1 (Red) as an Ally with shared vision and full shared units
Player - Make Player 4 (Purple) treat Player 2 (Blue) as an Ally with shared vision and full shared units
Player - Make Player 4 (Purple) treat Player 3 (Teal) as an Ally with shared vision and full shared units
AutoChoose
Events
Time - Elapsed game time is 9.99 seconds
Conditions
Actions
Trigger - Run Difficulty_Normal <gen> (ignoring conditions)
Dialog - Hide Selection for Player 1 (Red)
Spawn Start
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Trigger - Turn on Spawn_Ghoul <gen>
Upgrade Units
Events
Time - Elapsed game time is 209.99 seconds
Conditions
Actions
Trigger - Turn on Spawn_Monster <gen>
Trigger - Turn off Spawn_Ghoul <gen>
Upgrade Units 2
Events
Time - Elapsed game time is 389.99 seconds
Conditions
Actions
Trigger - Turn on Spawn_Fiend <gen>
Difficulty Easy
Events
Dialog - A dialog button is clicked for Selection
Conditions
DialogButton[1] Equal to (Clicked dialog button)
Actions
Game - Display to (All players) the text: Easy mode selected!
Trigger - Turn on EUpgrade_Ghoul <gen>
Trigger - Turn on EUpgrade_Ghoul_2 <gen>
Trigger - Turn on EUpgrade_Monster <gen>
Trigger - Turn on EUpgrade_Monster_2 <gen>
Trigger - Turn on EUpgrade_Fiend <gen>
Trigger - Turn on EUpgrade_Fiend_2 <gen>
Trigger - Turn on EFinal_Upgrade <gen>
Trigger - Turn off AutoChoose <gen>
EUpgrade Ghoul
Events
Time - Elapsed game time is 90.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 1 for Player 12 (Brown)
EUpgrade Ghoul 2
Events
Time - Elapsed game time is 150.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 1 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 1 for Player 12 (Brown)
EUpgrade Monster
Events
Time - Elapsed game time is 270.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 1 for Player 12 (Brown)
EUpgrade Monster 2
Events
Time - Elapsed game time is 330.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
EUpgrade Fiend
Events
Time - Elapsed game time is 450.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 3 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
EUpgrade Fiend 2
Events
Time - Elapsed game time is 510.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 4 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
EFinal Upgrade
Events
Time - Elapsed game time is 570.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 5 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 3 for Player 12 (Brown)
Difficulty Normal
Events
Dialog - A dialog button is clicked for Selection
Conditions
DialogButton[2] Equal to (Clicked dialog button)
Actions
Game - Display to (All players) the text: Normal mode selected!
Trigger - Turn on NUpgrade_Ghoul <gen>
Trigger - Turn on NUpgrade_Ghoul_2 <gen>
Trigger - Turn on NUpgrade_Monster <gen>
Trigger - Turn on NUpgrade_Monster_2 <gen>
Trigger - Turn on NUpgrade_Fiend <gen>
Trigger - Turn on NUpgrade_Fiend_2 <gen>
Trigger - Turn on NFinal_Upgrade <gen>
Trigger - Turn off AutoChoose <gen>
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 1 for Player 12 (Brown)
Player - Set the current research level of R002 (Unexpected type: 'techcode') to 1 for Player 12 (Brown)
NUpgrade Ghoul
Events
Time - Elapsed game time is 90.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
NUpgrade Ghoul 2
Events
Time - Elapsed game time is 150.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 1 for Player 12 (Brown)
NUpgrade Monster
Events
Time - Elapsed game time is 270.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 3 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 1 for Player 12 (Brown)
NUpgrade Monster 2
Events
Time - Elapsed game time is 330.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 4 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
NUpgrade Fiend
Events
Time - Elapsed game time is 450.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 5 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
NUpgrade Fiend 2
Events
Time - Elapsed game time is 510.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 6 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
NFinal Upgrade
Events
Time - Elapsed game time is 570.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 7 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 3 for Player 12 (Brown)
Difficulty Hard
Events
Dialog - A dialog button is clicked for Selection
Conditions
DialogButton[3] Equal to (Clicked dialog button)
Actions
Game - Display to (All players) the text: Hard mode selected!
Trigger - Turn on HUpgrade_Ghoul <gen>
Trigger - Turn on HUpgrade_Ghoul_2 <gen>
Trigger - Turn on HUpgrade_Monster <gen>
Trigger - Turn on HUpgrade_Monster_2 <gen>
Trigger - Turn on HUpgrade_Fiend <gen>
Trigger - Turn on HUpgrade_Fiend_2 <gen>
Trigger - Turn on HFinal_Upgrade <gen>
Trigger - Turn off AutoChoose <gen>
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
Player - Set the current research level of R002 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
HUpgrade Ghoul
Events
Time - Elapsed game time is 90.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
HUpgrade Ghoul 2
Events
Time - Elapsed game time is 150.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 3 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 1 for Player 12 (Brown)
HUpgrade Monster
Events
Time - Elapsed game time is 270.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 5 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 1 for Player 12 (Brown)
HUpgrade Monster 2
Events
Time - Elapsed game time is 330.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 6 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
HUpgrade Fiend
Events
Time - Elapsed game time is 450.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 7 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 2 for Player 12 (Brown)
HUpgrade Fiend 2
Events
Time - Elapsed game time is 510.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 7 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 3 for Player 12 (Brown)
HFinal Upgrade
Events
Time - Elapsed game time is 570.00 seconds
Conditions
Actions
Player - Set the current research level of R000 (Unexpected type: 'techcode') to 10 for Player 12 (Brown)
Player - Set the current research level of R001 (Unexpected type: 'techcode') to 3 for Player 12 (Brown)
Attack BL
Events
Unit - A unit enters Bottom_Left <gen>
Conditions
Actions
Unit Group - Pick every unit in (Units in Bottom_Left <gen> owned by Player 12 (Brown)) and do (Order (Units in Bottom_Left <gen>) to Patrol To.(Position of Wizard Tower 0001 <gen>))
Attack BR
Events
Unit - A unit enters Bottom_Right <gen>
Conditions
Actions
Unit Group - Pick every unit in (Units in Bottom_Right <gen> owned by Player 12 (Brown)) and do (Order (Units in Bottom_Right <gen>) to Patrol To.(Position of Wizard Tower 0001 <gen>))
Attack TL
Events
Unit - A unit enters Top_Left <gen>
Conditions
Actions
Unit Group - Pick every unit in (Units in Top_Left <gen> owned by Player 12 (Brown)) and do (Order (Units in Top_Left <gen>) to Patrol To.(Position of Wizard Tower 0001 <gen>))
Attack TR
Events
Unit - A unit enters Top_Right <gen>
Conditions
Actions
Unit Group - Pick every unit in (Units in Top_Right <gen> owned by Player 12 (Brown)) and do (Order (Units in Top_Right <gen>) to Patrol To.(Position of Wizard Tower 0001 <gen>))
Spawn Ghoul
Events
Time - Every 7.50 seconds of game time
Conditions
Actions
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of Bottom_Left <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of Bottom_Right <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of Top_Left <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of Top_Right <gen>) facing (Position of (Triggering unit))
Spawn Monster
Events
Time - Every 7.50 seconds of game time
Conditions
Actions
Unit - Create 1 Monster for Player 12 (Brown) at (Center of Bottom_Left <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Monster for Player 12 (Brown) at (Center of Bottom_Right <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Monster for Player 12 (Brown) at (Center of Top_Left <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Monster for Player 12 (Brown) at (Center of Top_Right <gen>) facing (Position of (Triggering unit))
Spawn Fiend
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Unit - Create 1 Fiend for Player 12 (Brown) at (Center of Bottom_Left <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Fiend for Player 12 (Brown) at (Center of Bottom_Right <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Fiend for Player 12 (Brown) at (Center of Top_Left <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Fiend for Player 12 (Brown) at (Center of Top_Right <gen>) facing (Position of (Triggering unit))
Defeat
Events
Unit - Wizard Tower 0001 <gen> Dies
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Defeat Death
Events
Unit - A unit Dies
Conditions
(Life of Warrior 0000 <gen>) Less than or equal to 0.00
(Life of Priest 0002 <gen>) Less than or equal to 0.00
(Life of Archer 0009 <gen>) Less than or equal to 0.00
(Life of Builder 0003 <gen>) Less than or equal to 0.00
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Defeat Time
Events
Time - Timer expires
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Boss Victory
Events
Time - Elapsed game time is 630.10 seconds
Conditions
Actions
Unit - Explode Wizard Tower 0001 <gen> .
Trigger - Turn on Victory <gen>
Victory
Events
Unit - A unit owned by Player 12 (Brown) . Dies
Conditions
Actions
Game - Display to (All players) for 15.00 seconds the text: You've won!
Wait 10.00 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Boss Effect
Events
Time - Elapsed game time is 630.00 seconds
Conditions
Actions
Trigger - Turn off Spawn_Fiend <gen>
Trigger - Turn off Spawn_Ghoul <gen>
Trigger - Turn off Spawn_Monster <gen>
Sound - Play Tension .
Trigger - Turn off Defeat <gen>
Game - Display to (All players) for 15.00 seconds the text: The Wizard has betrayed you.
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Kill (Picked unit))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Kill (Picked unit))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Kill (Picked unit))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Kill (Picked unit))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Kill (Picked unit))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Kill (Picked unit))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Kill (Picked unit))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Kill (Picked unit))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Kill (Picked unit))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Kill (Picked unit))
Boss
Events
Time - Elapsed game time is 646.00 seconds
Conditions
Actions
Unit - Create 1 . Wizard for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees
Game - Display to (All players) the text: Wizard: I'll take your souls!
Sound - Play Doom .
Wait for selection
Events
Map initialization
Conditions
Actions
Game - Display to (All players) for 10.00 seconds the text: Wait for host to select difficulty.
Ready
Events
Time - Elapsed game time is 10.00 seconds
Conditions
Actions
Game - Display to (All players) for 10.00 seconds the text: Get ready, the army of Undead will attack in 20 seconds.
Incoming
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Game - Display to (All players) for 5.00 seconds the text: They're coming!
Upgrade
Events
Time - Elapsed game time is 90.00 seconds
Time - Elapsed game time is 150.00 seconds
Time - Elapsed game time is 270.00 seconds
Time - Elapsed game time is 330.00 seconds
Time - Elapsed game time is 450.00 seconds
Time - Elapsed game time is 510.00 seconds
Time - Elapsed game time is 570.00 seconds
Conditions
Actions
Game - Display to (All players) for 10.00 seconds the text: Undead army grows stronger!
Unit Upgrade
Events
Time - Elapsed game time is 210.00 seconds
Time - Elapsed game time is 390.00 seconds
Conditions
Actions
Game - Display to (All players) for 10.00 seconds the text: Undead receives reinforcements!
Countdown Timer
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Countdown Timer - Create a timer window for Timer with title Undead
Countdown Timer - Start Timer as a One-shot timer that will expire in 30.00 seconds
Countdown Timer - Show (Last created timer window)
Wait 30.00 seconds
Trigger - Run Change_Timer <gen> (ignoring conditions)
Change Timer
Events
Conditions
Actions
Countdown Timer - Start Timer as a One-shot timer that will expire in 600.00 seconds
Countdown Timer - Change the title of (Last created timer window) to Boss
Wait 600.00 seconds
Trigger - Run Change_Timer_Defeat <gen> (ignoring conditions)
Change Timer Defeat
Events
Conditions
Actions
Countdown Timer - Start Timer as a One-shot timer that will expire in 180.00 seconds
Countdown Timer - Change the title of (Last created timer window) to Defeat
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.