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
Animal Panic!v.Beta 1.0.w3x
Variables
Start
Money start
Give Gold to Sheeps
Money Farm
Destroy
predators
win
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
Animals
force
No
Force00
CashFarmGold
integer
No
Winners
force
No
Force00
Default melee game initialization for all players
Money start
Events
Map initialization
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 10
Player - Set Player 2 (Blue) . Current gold to 10
Player - Set Player 3 (Teal) . Current gold to 10
Player - Set Player 4 (Purple) . Current gold to 10
Player - Set Player 5 (Yellow) . Current gold to 10
Player - Set Player 6 (Orange) . Current gold to 10
Player - Set Player 7 (Green) . Current gold to 10
Player - Set Player 8 (Pink) . Current gold to 10
Player - Set Player 9 (Gray) . Current gold to 50
Player - Set Player 10 (Light Blue) . Current gold to 50
Created by It8u
Give Gold to Sheeps
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in Animals and do (Set (Picked player).Current gold to (((Picked player) Current gold) + 1))
Created by It8u
Money Farm
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Set Variable Set CashFarmGold = "1"
Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Saving Bank) and do (If (((Picked unit) is alive) Equal to True) then do (Set Player 1 (Red).Current gold to ((Player 1 (Red) Current gold) + CashFarmGold)) else do (Do nothing))
Unit Group - Pick every unit in (Units owned by Player 2 (Blue) of type Saving Bank) and do (If (((Picked unit) is alive) Equal to True) then do (Set Player 2 (Blue).Current gold to ((Player 2 (Blue) Current gold) + CashFarmGold)) else do (Do nothing))
Unit Group - Pick every unit in (Units owned by Player 3 (Teal) of type Saving Bank) and do (If (((Picked unit) is alive) Equal to True) then do (Set Player 3 (Teal).Current gold to ((Player 3 (Teal) Current gold) + CashFarmGold)) else do (Do nothing))
Unit Group - Pick every unit in (Units owned by Player 4 (Purple) of type Saving Bank) and do (If (((Picked unit) is alive) Equal to True) then do (Set Player 4 (Purple).Current gold to ((Player 4 (Purple) Current gold) + CashFarmGold)) else do (Do nothing))
Unit Group - Pick every unit in (Units owned by Player 5 (Yellow) of type Saving Bank) and do (If (((Picked unit) is alive) Equal to True) then do (Set Player 5 (Yellow).Current gold to ((Player 5 (Yellow) Current gold) + CashFarmGold)) else do (Do nothing))
Unit Group - Pick every unit in (Units owned by Player 6 (Orange) of type Saving Bank) and do (If (((Picked unit) is alive) Equal to True) then do (Set Player 6 (Orange).Current gold to ((Player 6 (Orange) Current gold) + CashFarmGold)) else do (Do nothing))
Unit Group - Pick every unit in (Units owned by Player 7 (Green) of type Saving Bank) and do (If (((Picked unit) is alive) Equal to True) then do (Set Player 7 (Green).Current gold to ((Player 7 (Green) Current gold) + CashFarmGold)) else do (Do nothing))
Unit Group - Pick every unit in (Units owned by Player 8 (Pink) of type Saving Bank) and do (If (((Picked unit) is alive) Equal to True) then do (Set Player 8 (Pink).Current gold to ((Player 8 (Pink) Current gold) + CashFarmGold)) else do (Do nothing))
Created by It8u
Destroy
Events
Unit - A unit owned by Player 1 (Red) . Begins training a unit
Unit - A unit owned by Player 2 (Blue) . Begins training a unit
Unit - A unit owned by Player 3 (Teal) . Begins training a unit
Unit - A unit owned by Player 4 (Purple) . Begins training a unit
Unit - A unit owned by Player 5 (Yellow) . Begins training a unit
Unit - A unit owned by Player 6 (Orange) . Begins training a unit
Unit - A unit owned by Player 7 (Green) . Begins training a unit
Unit - A unit owned by Player 8 (Pink) . Begins training a unit
Conditions
(Trained unit-type) Equal to Destroy
Actions
Unit - Explode (Triggering unit) .
predators
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Game - Display to (All players) for 3.00 seconds the text: |cffff000010!|r
Wait 1.00 seconds
Game - Display to (All players) for 2.00 seconds the text: |cffff00009!|r
Wait 1.00 seconds
Game - Display to (All players) for 2.00 seconds the text: |cffff00008!|r
Wait 1.00 seconds
Game - Display to (All players) for 2.00 seconds the text: |cffff00007!|r
Wait 1.00 seconds
Game - Display to (All players) for 2.00 seconds the text: |cffff00006!|r
Wait 1.00 seconds
Game - Display to (All players) for 2.00 seconds the text: |cffff00005!|r
Wait 1.00 seconds
Game - Display to (All players) for 2.00 seconds the text: |cffff00004!|r
Wait 1.00 seconds
Game - Display to (All players) for 2.00 seconds the text: |cffff00003!|r
Wait 1.00 seconds
Game - Display to (All players) for 2.00 seconds the text: |cffff00002!|r
Wait 1.00 seconds
Game - Display to (All players) for 2.00 seconds the text: |cffff00001!|r
Unit - Create 1 . Sentry Ward for Player 10 (Light Blue) at (Center of sentry_1 <gen>) facing Default building facing degrees
Unit - Create 1 . Sentry Ward for Player 9 (Gray) at (Center of sentry_2 <gen>) facing Default building facing degrees
Unit - Create 1 . Sentry Ward for Player 1 (Red) at (Center of sentry_3 <gen>) facing Default building facing degrees
Unit - Create 1 . Vicous Wolf on Steroids for Player 10 (Light Blue) at (Center of predator_spawns <gen>) facing Default building facing degrees
Unit - Create 1 . Smokey is Harmless :) for Player 9 (Gray) at (Center of predator_spawns <gen>) facing Default building facing degrees
Cinematic - Turn cinematic mode On for (All players) over 0.05 seconds
Cinematic - Send transmission to (All players) from a Player 10 (Light Blue) . Vicous Wolf on Steroids named Wolf on Steroids at (Center of predator_spawns <gen>) : Play LightningBolt1 <gen> and display I smell fresh meat... . Modify duration: Add 1.00 seconds and Don't wait
Wait 3.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
Sound - Play War2IntroMusic <gen>
Sound - Set music volume to 100 %
win
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for (Last started timer) with title Wildlife Rangers
Countdown Timer - Start (Last started timer) as a One-shot timer that will expire in 1400.00 seconds
Wait 1400.00 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
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)
Game - Victory Player 6 (Orange) ( Show dialogs, Show scores)
Game - Victory Player 7 (Green) ( Show dialogs, Show scores)
Game - Victory Player 8 (Pink) ( Show dialogs, Show scores)
Game - Defeat Player 9 (Gray) with the message: Defeat!
Game - Victory Player 10 (Light Blue) ( Show dialogs, Show scores)
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.