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
simple td.w3x
Variables
Initialization
Melee Initialization
money
mud
money mud
dirty
money dirty
wood
money wood
remove lifes
remove lives
defeat
command
portal
wave 1
wave start 1
enemies spawn 1 a
wave 2
wave start 2
enemies spawn 2 a
wave 3
wave start 3
enemies spawn 3 a
wave 4
wave start 4
enemies spawn 4 a
wave 5
wave start 5
enemies spawn 5 a
enemies spawn 5 b
wave 6
wave start 6
enemies spawn 6 a
wave 7
wave start 7
enemies spawn 7 a
enemies spawn 7 b
wave 8
wave start 8
enemies spawn 8 a
wave 9
wave start 9
enemies spawn 9 a
wave 10
wave start 10
enemies spawn 10 a
wave 11
wave start 11
enemies spawn 11 a
wave 12
wave start 12
enemies spawn 12 a
enemies spawn 12 b
wave 13
wave start 13
enemies spawn 13 a
wave 14
wave start 14
enemies spawn 14 a
enemies spawn 14 b
wave 15
wave start 15
enemies spawn 15 a
enemies spawn 15 b
enemies spawn 15 c
wave 16
wave start 16
enemies spawn 16 a
wave 17
wave start 17
enemies spawn 17 a
enemies spawn 17 b
enemies spawn 17 c
wave 18
wave start 18
enemies spawn 18 a
enemies spawn 18 b
enemies spawn 18 c
wave 19
wave start 19
enemies spawn 19 a
enemies spawn 19 b
enemies spawn 19 c
wave 20
wave start 20
enemies spawn 20 a
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
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Run melee AI scripts (for computer players)
Player - Set Player 1 (Red) . Current gold to 10
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Player - Set Player 1 (Red) . Current lumber to 20
Game - Display to (All players) the text: build and upgrade towers to defend against enemiesupgrade the ruins to generate money over timewrite -portal to show information about waves that will use more than 1 portal
mud
Events
Unit - A unit Finishes an upgrade
Conditions
(Unit-type of (Triggering unit)) Equal to mud farm
Actions
Trigger - Turn on money_mud <gen>
Trigger - Turn off (This trigger)
money mud
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Player - Add 1 to Player 1 (Red) . Current gold
dirty
Events
Unit - A unit Finishes an upgrade
Conditions
(Unit-type of (Triggering unit)) Equal to dirty farm
Actions
Trigger - Turn off money_mud <gen>
Trigger - Turn on money_dirty <gen>
money dirty
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Player - Add 3 to Player 1 (Red) . Current gold
wood
Events
Unit - A unit Finishes an upgrade
Conditions
(Unit-type of (Triggering unit)) Equal to wood farm
Actions
Trigger - Turn off money_dirty <gen>
Trigger - Turn on money_wood <gen>
money wood
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Player - Add 10 to Player 1 (Red) . Current gold
remove lives
Events
Unit - A unit enters lose_lifes <gen>
Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
Actions
Player - Add -1 to Player 1 (Red) . Current lumber
Unit - Kill (Triggering unit)
Game - Display to (All players) the text: |cffff0000you losed a live|r
defeat
Events
Player - Player 1 (Red) 's Current lumber becomes Equal to 0.00
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
portal
Events
Player - Player 1 (Red) types a chat message containing -portal (Unexpected type: 'stringnoformat') as An exact match
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.