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
Rapidly Evolving Zerg TD.w3x
Variables
Movment
Spawn
Six Middle
Four Left
Four Right
Three Middle
One Left
Six Left
Six Right
Seven Right
Seven Left
One Right
Two Left
Two Right
Three Left
Three Right
Five Left
Five Right
Five Middle
Two Middle
Commands
Show Life
Visibility
Disable
Lives
Death of Life
Death
Creep Waves
Creep Spawn
Resources
Gain Resource
Starting Resources
Selection
Race Select
Second Builder
Inizialization
Variable Set
Game description
PlayerName and Bounty
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
BuilderSelect
real
No
GoldIncrease
integer
No
Lives
real
No
RandomNumber
integer
No
SpawnLife
real
No
SpawnNumber
integer
No
Spawn
Events
Unit - A unit enters Spawn <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Set Variable Set RandomNumber = (Random integer number between 1 and 10)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RandomNumber Greater than 5
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of One_left <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of One_right <gen>)
Six Middle
Events
Unit - A unit enters Sis_middle <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Set Variable Set RandomNumber = (Random integer number between 1 and 10)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RandomNumber Greater than 5
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of Six_left <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of six_right <gen>)
Four Left
Events
Unit - A unit enters Four_Left <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Set Variable Set RandomNumber = (Random integer number between 1 and 10)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RandomNumber Greater than 5
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of Frou_Right <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of Five_left <gen>)
Four Right
Events
Unit - A unit enters Frou_Right <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Set Variable Set RandomNumber = (Random integer number between 1 and 10)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RandomNumber Greater than 5
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of Four_Left <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of Five_right <gen>)
Three Middle
Events
Unit - A unit enters Three_middle <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Set Variable Set RandomNumber = (Random integer number between 1 and 10)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
RandomNumber Greater than 5
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of Thre_left <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of THree_right <gen>)
One Left
Events
Unit - A unit enters One_left <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Two_Left <gen>)
Six Left
Events
Unit - A unit enters Six_left <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of seven_left <gen>)
Six Right
Events
Unit - A unit enters six_right <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of seven_right <gen>)
Seven Right
Events
Unit - A unit enters seven_right <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Death <gen>)
Seven Left
Events
Unit - A unit enters seven_left <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Death <gen>)
One Right
Events
Unit - A unit enters One_right <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Two_Right <gen>)
Two Left
Events
Unit - A unit enters Two_Left <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Two_Middle <gen>)
Two Right
Events
Unit - A unit enters Two_Right <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Two_Middle <gen>)
Three Left
Events
Unit - A unit enters Thre_left <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Four_Left <gen>)
Three Right
Events
Unit - A unit enters THree_right <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Frou_Right <gen>)
Five Left
Events
Unit - A unit enters Five_left <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Five_middle <gen>)
Five Right
Events
Unit - A unit enters Five_right <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Five_middle <gen>)
Five Middle
Events
Unit - A unit enters Five_middle <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Sis_middle <gen>)
Two Middle
Events
Unit - A unit enters Two_Middle <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Triggering unit) to Move To . (Center of Three_middle <gen>)
Shows life
Show Life
Events
Player - Player 1 (Red) types a chat message containing -life (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to (All players) the text: (You Have + ((String(Lives)) + Left.))
Sets visibility = null
Disable
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
If (var.lives = 0) then set defeat = true else do nothing
Death of Life
Events
Game - Lives becomes Less than or equal to 0
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: The Rapidly Evolving Zerg Have Got The Better of You ! Have Better Luck Next Time.
When creeps enter region (death) . . . life = life-1
Death
Events
Unit - A unit enters Death <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 12 (Brown)
Actions
Unit - Kill (Triggering unit)
Set Variable Set Lives = (Lives - 1)
Game - Display to (All players) the text: (You Have + ((String(Lives)) + Remaining.))
Spawns a creeps every second. Sets creeps life to one plus previous creeps life. Also increases movment speed by one (base 200). Disables collision.
Creep Spawn
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set Variable Set SpawnLife = (SpawnLife + 1.00)
Set Variable Set SpawnNumber = (SpawnNumber + 1)
Player - Set Player 1 (Red) . Current lumber to SpawnNumber
Unit - Create 1 . Zergling for Player 12 (Brown) at (Center of Spawn <gen>) facing Default building facing degrees
Unit - Turn collision for (Last created unit) Off .
Unit - Set (Last created unit) movement speed to ((SpawnLife / 2.00) + 200.00)
Unit - Set life of (Last created unit) to SpawnLife
Gains more gold over time.
Gain Resource
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to ((Player 1 (Red) Current gold) + ((SpawnNumber / 100) + 0))
Starting Resources
Events
Map initialization
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 20
Race Select
Events
Player - Player 1 (Red) types a chat message containing -human (Unexpected type: 'stringnoformat') as An exact match
Player - Player 1 (Red) types a chat message containing -undead (Unexpected type: 'stringnoformat') as An exact match
Player - Player 1 (Red) types a chat message containing -orcish (Unexpected type: 'stringnoformat') as An exact match
Player - Player 1 (Red) types a chat message containing -elven (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -human
BuilderSelect Equal to 1.00
Then - Actions
Unit - Create 1 . Peasant for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees
Game - Display to (All players) the text: You have chosen. Ten seconds until the attack begins. Enjoy.
Set Variable Set BuilderSelect = "0.00"
Trigger - Turn on Gain_Resource <gen>
Wait 10.00 seconds
Trigger - Turn on Creep_Spawn <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -orcish
BuilderSelect Equal to 1.00
Then - Actions
Unit - Create 1 . Peon for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees
Game - Display to (All players) the text: You have chosen. Ten seconds until the attack begins. Enjoy.
Set Variable Set BuilderSelect = "0.00"
Trigger - Turn on Gain_Resource <gen>
Wait 10.00 seconds
Trigger - Turn on Creep_Spawn <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -undead
BuilderSelect Equal to 1.00
Then - Actions
Game - Display to (All players) the text: Undead Are Unavailabe At this point in time. Please choose a completed race.
Set Variable Set BuilderSelect = "1.00"
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to -elven
BuilderSelect Equal to 1.00
Then - Actions
Game - Display to (All players) the text: Elves Are Unavailabe At this point in time. Please choose a completed race.
Set Variable Set BuilderSelect = "1.00"
Else - Actions
Do nothing
Second Builder
Events
Time - Elapsed game time is 500.00 seconds
Conditions
Actions
Set Variable Set BuilderSelect = "1.00"
Game - Display to (All players) the text: A second race has become available. Type "-human" "-undead" "-orcish" "-elven" to pick an addditional race.
Sets initial variables
Variable Set
Events
Map initialization
Conditions
Actions
Set Variable Set SpawnLife = "0.00"
Set Variable Set Lives = "10.00"
Set Variable Set BuilderSelect = "1.00"
Game description
Events
Map initialization
Conditions
Actions
Game - Display to (All players) for 20.00 seconds the text: "Rapidly Evolving Zerg" Tower Defense has begun.Type one of the following to select your race, "-human", or "-orcish"At any time to see your life type "-life". (max ten life) The goal of the game is to survive a constant stream of zerglings. The zerglings get tougher (evolve) as the game progresses. You lumber (zergling icon) shows how much life the latest zergling has. Later in the game you get more gold per second and stronger towers. Halfway through (500 zerg life) you get the ability to choose another builder.
Enbles bounty and sets PLayer 12 brown player name to Zerg
PlayerName and Bounty
Events
Map initialization
Conditions
Actions
Player - Set name of Player 12 (Brown) to Rapidly Evolving Zerg
Player - Turn Gives bounty On for Player 12 (Brown)
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.