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
[X-Gaming] TD [BETA]!.w3x
Variables
Lives
LeaderBoard lives
LeaderBoard Update left1
LeaderBoard Update left 2
LeaderBoard UpdateRight 1
LeaderBoard UpdateRight 2
Lose
Instal
bounty
Disable Fog of war
Starter Money
Spawn Sender and killer
Spawn 1 and 4 Sender
Spawn 2 and 3 Sender
Kills spawns
HamsterWheel Spawns
Start
LvL 1
LvL 2
LvL 3
LvL 4
LvL 5
Open/Close Spawns
Close Red
Close Blue
Close Teal
Close Purp
Open Red
Open Blue
Open Teal
Open Purple
Close kill
redspawnkill
bluespawnkill
tealspawnkill
purpspawnkill
Build areas
Stay In area1
Stay In area2
Stay In area3
Stay In area4
Commands
commands
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
Game_Starts_in
timer
No
Lives
integer
No
Timer_window
timerdialog
Yes
LeaderBoard lives
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) slot status) Equal to Is playing
(Player 1 (Red) controller) Equal to User
Then - Actions
Set Variable Set Lives = "30"
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Lives and value Lives
Else - Actions
Do nothing
Leaderboard - Show (Last created leaderboard)
LeaderBoard Update left1
Events
Unit - A unit enters End_1_and_4 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Actions
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
LeaderBoard Update left 2
Events
Unit - A unit enters End_1_and_4 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
Actions
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
LeaderBoard UpdateRight 1
Events
Unit - A unit enters End_2_and_3 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Actions
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
LeaderBoard UpdateRight 2
Events
Unit - A unit enters End_2_and_3 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
Lose
Events
Time - Every 1.00 seconds of game time
Conditions
Lives Equal to 0
Actions
Game - Defeat Player 1 (Red) with the message: You Lost Try Again
Game - Defeat Player 2 (Blue) with the message: You Lost Try Again
Game - Defeat Player 3 (Teal) with the message: You Lost Try Again
Game - Defeat Player 4 (Purple) with the message: You Lost Try Again
Game - Defeat Player 5 (Yellow) with the message: You Lost Try Again
Game - Defeat Player 6 (Orange) with the message: You Lost Try Again
Game - Defeat Player 7 (Green) with the message: You Lost Try Again
Game - Defeat Player 8 (Pink) with the message: You Lost Try Again
bounty
Events
Time - Elapsed game time is 29.00 seconds
Conditions
Actions
Player - Turn Gives bounty On for Player 9 (Gray)
Player - Turn Gives bounty On for Player 10 (Light Blue)
Player - Turn Gives bounty On for Player 11 (Dark Green)
Player - Turn Gives bounty On for Player 12 (Brown)
Disable Fog of war
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Starter Money
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 45
Player - Set Player 2 (Blue) . Current gold to 45
Player - Set Player 3 (Teal) . Current gold to 45
Player - Set Player 4 (Purple) . Current gold to 45
Spawn 1 and 4 Sender
Events
Unit - A unit enters Spawn_1 <gen>
Unit - A unit enters Spawn_4 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of End_1_and_4 <gen>)
Spawn 2 and 3 Sender
Events
Unit - A unit enters Spawn_2 <gen>
Unit - A unit enters Spawn_3 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of End_2_and_3 <gen>)
Kills spawns
Events
Unit - A unit enters End_1_and_4 <gen>
Unit - A unit enters End_2_and_3 <gen>
Conditions
Actions
Unit - Kill (Triggering unit)
Start
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for Game_Starts_in with title LvL 1 In.....
Countdown Timer - Start Game_Starts_in as a One-shot timer that will expire in 30.00 seconds
Wait 30.00 seconds
Countdown Timer - Destroy (Last created timer window)
Trigger - Turn on LvL_1 <gen>
LvL 1
Events
Time - Every 0.70 seconds of game time
Conditions
Actions
Unit - Create 1 . |c000000FFLVL:1 creep for Player 9 (Gray) at (Center of Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000FFLVL:1 creep for Player 10 (Light Blue) at (Center of Spawn_4 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000FFLVL:1 creep for Player 11 (Dark Green) at (Center of Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000FFLVL:1 creep for Player 12 (Brown) at (Center of Spawn_3 <gen>) facing Default building facing degrees
Wait 40.00 seconds
Trigger - Turn off (This trigger)
Wait 5.00 seconds
Trigger - Turn on LvL_2 <gen>
LvL 2
Events
Time - Every 0.70 seconds of game time
Conditions
Actions
Unit - Create 1 . |c000000EELVL:2 creep for Player 9 (Gray) at (Center of Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000EELVL:2 creep for Player 10 (Light Blue) at (Center of Spawn_4 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000EELVL:2 creep for Player 11 (Dark Green) at (Center of Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000EELVL:2 creep for Player 12 (Brown) at (Center of Spawn_3 <gen>) facing Default building facing degrees
Wait 40.00 seconds
Trigger - Turn off (This trigger)
Wait 5.00 seconds
Trigger - Turn on LvL_3 <gen>
LvL 3
Events
Time - Every 0.70 seconds of game time
Conditions
Actions
Unit - Create 1 . |c000000DDLVL:3 creep for Player 9 (Gray) at (Center of Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000DDLVL:3 creep for Player 10 (Light Blue) at (Center of Spawn_4 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000DDLVL:3 creep for Player 11 (Dark Green) at (Center of Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000DDLVL:3 creep for Player 12 (Brown) at (Center of Spawn_3 <gen>) facing Default building facing degrees
Wait 40.00 seconds
Trigger - Turn off (This trigger)
Wait 5.00 seconds
Trigger - Turn on LvL_4 <gen>
LvL 4
Events
Time - Every 0.70 seconds of game time
Conditions
Actions
Unit - Create 1 . |c000000FFLVL:4 creep for Player 9 (Gray) at (Center of Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000FFLVL:4 creep for Player 10 (Light Blue) at (Center of Spawn_4 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000FFLVL:4 creep for Player 11 (Dark Green) at (Center of Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000FFLVL:4 creep for Player 12 (Brown) at (Center of Spawn_3 <gen>) facing Default building facing degrees
Wait 40.00 seconds
Trigger - Turn off (This trigger)
Wait 5.00 seconds
Trigger - Turn on LvL_5 <gen>
LvL 5
Events
Time - Every 0.70 seconds of game time
Conditions
Actions
Unit - Create 1 . |c000000DDLVL:5 creep for Player 9 (Gray) at (Center of Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000DDLVL:5 creep for Player 10 (Light Blue) at (Center of Spawn_4 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000DDLVL:5 creep for Player 11 (Dark Green) at (Center of Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . |c000000DDLVL:5 creep for Player 12 (Brown) at (Center of Spawn_3 <gen>) facing Default building facing degrees
Wait 40.00 seconds
Trigger - Turn off (This trigger)
Close Red
Events
Player - Player 1 (Red) types a chat message containing .close red (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn on redspawnkill <gen>
Close Blue
Events
Player - Player 1 (Red) types a chat message containing .close blue (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn on bluespawnkill <gen>
Close Teal
Events
Player - Player 1 (Red) types a chat message containing .close teal (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn on tealspawnkill <gen>
Close Purp
Events
Player - Player 1 (Red) types a chat message containing .close purple (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn on purpspawnkill <gen>
Open Red
Events
Player - Player 1 (Red) types a chat message containing .Open red (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn off redspawnkill <gen>
Open Blue
Events
Player - Player 1 (Red) types a chat message containing .open blue (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn off bluespawnkill <gen>
Open Teal
Events
Player - Player 1 (Red) types a chat message containing .open teal (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn off tealspawnkill <gen>
Open Purple
Events
Player - Player 1 (Red) types a chat message containing .open purple (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Turn off purpspawnkill <gen>
redspawnkill
Events
Unit - A unit enters Close_Red <gen>
Conditions
Actions
Unit - Kill (Triggering unit)
bluespawnkill
Events
Unit - A unit enters Close_Blue <gen>
Conditions
Actions
Unit - Kill (Triggering unit)
tealspawnkill
Events
Unit - A unit enters Close_Teal <gen>
Conditions
Actions
Unit - Kill (Triggering unit)
purpspawnkill
Events
Unit - A unit enters Close_Purple <gen>
Conditions
Actions
Unit - Kill (Triggering unit)
Stay In area1
Events
Unit - A unit leaves Build_Area_1 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Acolyte
Actions
Unit - Move (Triggering unit) instantly to (Position of Circle of Power 0000 <gen>) , facing 180.00 degrees
Stay In area2
Events
Unit - A unit leaves Build_Area_2 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Acolyte
Actions
Unit - Move (Triggering unit) instantly to (Position of Circle of Power 0003 <gen>) , facing 180.00 degrees
Stay In area3
Events
Unit - A unit leaves Build_Area_3 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Acolyte
Actions
Unit - Move (Triggering unit) instantly to (Position of Circle of Power 0001 <gen>) , facing 180.00 degrees
Stay In area4
Events
Unit - A unit leaves Build_Area_4 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Acolyte
Actions
Unit - Move (Triggering unit) instantly to (Position of Circle of Power 0002 <gen>) , facing 180.00 degrees
commands
Events
Player - Player 1 (Red) types a chat message containing .commands (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - . Apply . gg_cam_Commands for Player 1 (Red) over 0 seconds
Floating Text - Create floating text that reads .commands.open red/blue/teal/purple [opens spawn of the named color].close red/blue/teal/purple [Closes spawn of the named color]Thats all commands so far since this is a small BETAscroll whit mouse wheel to get out of this cam angle. at (Center of command1 <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 0.00 %, 0.00 %), and 0 % transparency
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.