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
Red Planet TD.w3x
Variables
Sell region + attack
Sell to region
Attack
Auto Footman
Player die+vic
Playerdievic2
Playerdievic
Gold-Steal
Gold Steal
Hints
Hints
Money earn
Money start
Money p1 p2
Money p3 p4
Multiboard
Multiboard 1
MultiBoard 2
Multiboard 3
Ressurections Hostile
Untitled Trigger 001
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
Sound
sound
No
TimeLeft
timer
No
Sell to region
Events
Unit - A unit Sells a unit
Conditions
(Unit-type of (Selling unit)) Equal to Barracks 1
Actions
Unit - Move (Sold unit) instantly to (Center of Region_000 <gen>)
Unit - Change ownership of (Sold unit) to Player 5 (Yellow) and Retain color
Attack
Events
Unit - A unit enters Region_000 <gen>
Conditions
Actions
Unit - Order (Entering unit) to Attack . Demonic Citadel 0056 <gen>
Auto Footman
Events
Time - Every 50.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Footman for Player 5 (Yellow) at (Center of Region_000 <gen>) facing Default building facing degrees
Player - Add 1 to Player 3 (Teal) . Current gold
Player - Add 1 to Player 4 (Purple) . Current gold
Playerdievic2
Events
Time - TimeLeft expires
Conditions
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat
Playerdievic
Events
Unit - Demonic Citadel 0056 <gen> Dies
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: The Red planet has fallen!
Game - Defeat Player 6 (Orange) with the message: The Red planet has fallen!
Game - Defeat Player 2 (Blue) with the message: The Red planet has fallen!
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Game - Victory Player 5 (Yellow) ( Show dialogs, Show scores)
Gold Steal
Events
Unit - Demonic Citadel 0056 <gen> Is attacked
Conditions
Actions
Player - Add -1 to Player 1 (Red) . Current gold
Player - Add -1 to Player 2 (Blue) . Current gold
Player - Add 1 to Player 3 (Teal) . Current gold
Player - Add 1 to Player 4 (Purple) . Current gold
Hints
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Game - Display to (All players) the text: Welcome to Red planet TD
Game - Display to (All players) the text: This map is created by limuka
Game - Display to (All players) the text: |cff7d267dHint:|r When a unit attacks the demonic citadel P1 and P2 will lose 1 gold, P3 and P4 will receive that gold
Game - Display to Player Group - Player 3 (Teal) the text: |cff7d267dHint:|r When a creep in the forest dies it will ressurect after 30 seconds.
Game - Display to Player Group - Player 4 (Purple) the text: |cff7d267dHint:|r When a creep in the forest dies it will ressurect after 30 seconds.
Money start
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for TimeLeft with title Reinforcements:
Countdown Timer - Start TimeLeft as a One-shot timer that will expire in 1800.00 seconds
Player - Add 60 to Player 3 (Teal) . Current gold
Player - Add 60 to Player 4 (Purple) . Current gold
Player - Add 50 to Player 1 (Red) . Current gold
Player - Add 50 to Player 2 (Blue) . Current gold
Money p1 p2
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Player - Add 50 to Player 1 (Red) . Current gold
Player - Add 50 to Player 2 (Blue) . Current gold
Money p3 p4
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Player - Add 120 to Player 3 (Teal) . Current gold
Player - Add 120 to Player 4 (Purple) . Current gold
Hero - Add 50 experience to Commander 0048 <gen> , Show level-up graphics
Hero - Add 50 experience to Commander 0049 <gen> , Show level-up graphics
Multiboard 1
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 3 columns and 9 rows, titled Player Stats: .
Multiboard - Minimize (Last created multiboard)
Multiboard - Set the icon for (Last created multiboard) item in column 3 , row 1 to ReplaceableTextures\CommandButtons\BTNBookOfSummoning.blp
Multiboard - Set the icon for (Last created multiboard) item in column 3 , row 2 to ReplaceableTextures\CommandButtons\BTNBanish.blp
Multiboard - Set the icon for (Last created multiboard) item in column 3 , row 3 to ReplaceableTextures\CommandButtons\BTNHumanWatchTower.blp
Multiboard - Set the icon for (Last created multiboard) item in column 3 , row 4 to ReplaceableTextures\CommandButtons\BTNHumanWatchTower.blp
Multiboard - Set the icon for (Last created multiboard) item in column 3 , row 5 to ReplaceableTextures\CommandButtons\BTNHumanWatchTower.blp
Multiboard - Set the icon for (Last created multiboard) item in column 3 , row 6 to ReplaceableTextures\CommandButtons\BTNBanish.blp
Multiboard - Set the icon for (Last created multiboard) item in column 3 , row 7 to ReplaceableTextures\CommandButtons\BTNHumanWatchTower.blp
Multiboard - Set the icon for (Last created multiboard) item in column 3 , row 8 to ReplaceableTextures\CommandButtons\BTNHumanWatchTower.blp
Multiboard - Set the icon for (Last created multiboard) item in column 3 , row 9 to ReplaceableTextures\CommandButtons\BTNHumanWatchTower.blp
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 1 to ReplaceableTextures\CommandButtons\BTNBookOfSummoning.blp
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 2 to ReplaceableTextures\CommandButtons\BTNBanish.blp
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 3 to UI\Feedback\Resources\ResourceGold.blp
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 4 to UI\Feedback\Resources\ResourceGold.blp
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 5 to UI\Feedback\Resources\ResourceGold.blp
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 6 to ReplaceableTextures\CommandButtons\BTNBanish.blp
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 7 to UI\Feedback\Resources\ResourceGold.blp
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 8 to UI\Feedback\Resources\ResourceGold.blp
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 9 to UI\Feedback\Resources\ResourceGold.blp
Multiboard - Set the icon for (Last created multiboard) item in column 1 , row 1 to ReplaceableTextures\CommandButtons\BTNAntiMagicShell.blp
Multiboard - Set the icon for (Last created multiboard) item in column 1 , row 2 to ReplaceableTextures\CommandButtons\BTNAntiMagicShell.blp
Multiboard - Set the icon for (Last created multiboard) item in column 1 , row 3 to ReplaceableTextures\CommandButtons\BTNAntiMagicShell.blp
Multiboard - Set the icon for (Last created multiboard) item in column 1 , row 4 to ReplaceableTextures\CommandButtons\BTNAntiMagicShell.blp
Multiboard - Set the icon for (Last created multiboard) item in column 1 , row 5 to ReplaceableTextures\CommandButtons\BTNAntiMagicShell.blp
Multiboard - Set the icon for (Last created multiboard) item in column 1 , row 6 to ReplaceableTextures\CommandButtons\BTNAntiMagicShell.blp
Multiboard - Set the icon for (Last created multiboard) item in column 1 , row 7 to ReplaceableTextures\CommandButtons\BTNAntiMagicShell.blp
Multiboard - Set the icon for (Last created multiboard) item in column 1 , row 8 to ReplaceableTextures\CommandButtons\BTNAntiMagicShell.blp
Multiboard - Set the icon for (Last created multiboard) item in column 1 , row 9 to ReplaceableTextures\CommandButtons\BTNAntiMagicShell.blp
Multiboard - Set the width for (Last created multiboard) item in column 3 , row 1 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3 , row 2 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3 , row 3 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3 , row 4 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3 , row 5 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3 , row 6 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3 , row 7 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3 , row 8 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3 , row 9 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1 , row 1 to 8.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1 , row 2 to 8.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1 , row 3 to 8.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1 , row 4 to 8.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1 , row 5 to 8.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1 , row 6 to 8.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1 , row 7 to 8.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1 , row 8 to 8.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1 , row 9 to 8.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2 , row 1 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2 , row 2 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2 , row 3 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2 , row 4 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2 , row 5 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2 , row 6 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2 , row 7 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2 , row 8 to 5.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2 , row 9 to 5.00 % of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 1 to Name
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 1 to Gold
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 1 to Buildings
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 2 to |cffffcc00Team 1|r
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 3 to (Name of (Owner of Demonic Servant 0057 <gen>))
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 4 to (Name of (Owner of Demonic Servant 0061 <gen>))
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 5 to (Name of (Owner of Demonic Citadel 0056 <gen>))
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 6 to |cffffcc00Team 2|r
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 7 to (Name of (Owner of Commander 0048 <gen>))
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 8 to (Name of (Owner of Commander 0049 <gen>))
Multiboard - Set the text for (Last created multiboard) item in column 1 , row 9 to (Name of (Owner of Magic Vault 0126 <gen>))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 3 to (String((Player 1 (Red) Current gold)))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 4 to (String((Player 2 (Blue) Current gold)))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 5 to (String((Player 6 (Orange) Current gold)))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 7 to (String((Player 3 (Teal) Current gold)))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 8 to (String((Player 4 (Purple) Current gold)))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 9 to (String((Player 5 (Yellow) Current gold)))
MultiBoard 2
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 3 to (String((Player 1 (Red) Current gold)))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 4 to (String((Player 2 (Blue) Current gold)))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 5 to (String((Player 6 (Orange) Current gold)))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 7 to (String((Player 3 (Teal) Current gold)))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 8 to (String((Player 4 (Purple) Current gold)))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 9 to (String((Player 5 (Yellow) Current gold)))
Multiboard 3
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 3 to (String((Count structures controlled by Player 1 (Red) (Exclude incomplete structures))))
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 4 to (String((Count structures controlled by Player 2 (Blue) (Exclude incomplete structures))))
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 5 to (String((Count structures controlled by Player 6 (Orange) (Exclude incomplete structures))))
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 7 to (String((Count structures controlled by Player 3 (Teal) (Exclude incomplete structures))))
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 8 to (String((Count structures controlled by Player 4 (Purple) (Exclude incomplete structures))))
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 9 to (String((Count structures controlled by Player 5 (Yellow) (Exclude incomplete structures))))
Untitled Trigger 001
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Neutral Hostile
Actions
Wait 30.00 seconds
Unit - Create 1 . (Unit-type of (Dying unit)) for Neutral Hostile at (Position of (Dying unit)) facing Default building facing degrees
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.