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
Virus Infection2 v.2b.w3x
Variables
Attatchment
Attatch1
Body Health
Heart
Health
Game Start
Stem Cell Start
Starting Units
Starting Temp
Starting Money
Body Defense
AntiBodies
Anti Stop
Pills
AntiViral Injection
White Blood Cells
Attack
Attack2
Attack3
Attack4
Replace
Replace2
Replace3
Infected Syrum
Victory/Defeat
Player Leaves
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
BodyTemp
integer
No
brain
rect
Yes
RandomPumps
rect
Yes
Attatch1
Events
Conditions
Actions
Heart
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for Player Group - Player 1 (Red) titled Body Temperature
Wait 0.10 seconds
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to BodyTemp
Health
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 1 to (String((Life of Heart 0011 <gen>)))
Stem Cell Start
Events
Map initialization
Conditions
Actions
Unit Group - Pick every unit in (Random 7 units from (Units of type Nucleus)) and do (Create Stem Cell at (Position of (Picked unit)))
Starting Units
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)).) and do (Create 2.Strand A Virus for (Picked player) at ((Picked player) start location) facing Default building facing degrees)
Starting Temp
Events
Map initialization
Conditions
Actions
Set Variable Set BodyTemp = "98"
Starting Money
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Set (Picked player).Current gold to 550)
AntiBodies
Events
Time - Elapsed game time is 600.00 seconds
Conditions
Actions
Game - Display to (All players) for 30 seconds the text: |cff995500Anti-Bodies have now been released!|r
Unit - Create 3 . Anti-Body for Player 1 (Red) at (Center of Heart <gen>) facing Default building facing degrees
Wait 3.00 seconds
Unit - Create 3 . Anti-Body for Player 1 (Red) at (Center of Heart <gen>) facing Default building facing degrees
Wait 3.00 seconds
Unit - Create 3 . Anti-Body for Player 1 (Red) at (Center of Heart <gen>) facing Default building facing degrees
Anti Stop
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in Brain <gen> owned by Player 1 (Red)) and do (Replace (Picked unit) with a (Unit-type of (Picked unit)) using The old unit's relative life and mana)
Pills
Events
Time - Elapsed game time is 300.00 seconds
Conditions
Actions
Game - Display to (All players) for 30 seconds the text: |cff995500A Pill has been Swallowed!|r
Unit - Create 1 . Pill for Player 1 (Red) at (Center of stumach <gen>) facing Default building facing degrees
AntiViral Injection
Events
Time - Elapsed game time is 900.00 seconds
Conditions
Actions
Cinematic - Ping minimap for (All players) at (Center of Injection_Site <gen>) for 4.00 seconds
Game - Display to (All players) for 30 seconds the text: |cff995500An anti-Viral Syrum has been injected!|r
Unit - Create 1 . Anti-Virus Syrum for Player 1 (Red) at (Center of Injection_Site <gen>) facing Default building facing degrees
White Blood Cells
Events
Unit - A unit Finishes construction
Conditions
Actions
Trigger - Turn off (This trigger)
Wait 120.00 seconds
Game - Display to (All players) for 30 seconds the text: |cff995500The body is sending out White Blood Cells to destroy the invaders!|r
Unit - Create 3 . White Blood Cell for Player 1 (Red) at (Center of Brain <gen>) facing Default building facing degrees
Wait 3.00 seconds
Unit - Create 3 . White Blood Cell for Player 1 (Red) at (Center of Brain <gen>) facing Default building facing degrees
Wait 3.00 seconds
Unit - Create 3 . White Blood Cell for Player 1 (Red) at (Center of Brain <gen>) facing Default building facing degrees
Wait 3.00 seconds
Unit - Create 3 . White Blood Cell for Player 1 (Red) at (Center of Brain <gen>) facing Default building facing degrees
Attack
Events
Unit - A unit enters Brain <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit Group - Pick every unit in (Random 1 units from (Units of type Infected Cell)) and do (Order (Entering unit) to Patrol To.(Position of (Picked unit)))
Attack2
Events
Unit - A unit enters stumach <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Pill
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit Group - Pick every unit in (Random 1 units from (Units of type Infected Cell)) and do (Order (Entering unit) to Patrol To.(Position of (Picked unit)))
Attack3
Events
Unit - A unit enters Injection_Site <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Anti-Virus Syrum
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Entering unit) to Patrol To . (Center of Brain <gen>)
Attack4
Events
Unit - A unit enters Heart <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Anti-Body
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit Group - Pick every unit in (Random 1 units from (Units of type Infected Cell)) and do (Order (Entering unit) to Patrol To.(Position of (Picked unit)))
Replace
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
(Unit-type of (Dying unit)) Equal to White Blood Cell
Actions
Wait 5.00 seconds
Unit - Create 1 . White Blood Cell for Player 1 (Red) at (Center of Brain <gen>) facing Default building facing degrees
Replace2
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
(Unit-type of (Dying unit)) Equal to Pill
Actions
Wait 90.00 seconds
Game - Display to (All players) for 30 seconds the text: |cff995500A Pill has been Swallowed!|r
Unit - Create 1 . Pill for Player 1 (Red) at (Center of stumach <gen>) facing Default building facing degrees
Replace3
Events
Unit - A unit Dies
Conditions
(Heart 0011 <gen> is alive) Equal to True
(Owner of (Dying unit)) Equal to Player 1 (Red)
(Unit-type of (Dying unit)) Equal to Anti-Body
Actions
Wait 20.00 seconds
Unit - Create 1 . Anti-Body for Player 1 (Red) at (Center of Heart <gen>) facing Default building facing degrees
Infected Syrum
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Anti-Virus Syrum
Actions
Game - Display to (All players) for 30 seconds the text: ((Name of (Owner of (Killing unit))) + has Infected the Anti-Viral Syrum)
Unit - Create 1 . Infected Syrum for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
Player Leaves
Events
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Player - Player 7 (Green) leaves the game
Player - Player 8 (Pink) leaves the game
Conditions
Actions
Game - Display to (All players) for 30 seconds the text: ((Name of (Triggering player)) + has left the Game)
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.