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
Bugs Life - Map.w3x
Variables
Common Stuff
Player 1 Loses
Player 2 Loses
Starting Resources
Turning Breedlings to Resource 1
Turning Breedlings to Resource 2
Gained Resources
None Into Pit
Starting
Hints
Rats No Water 1
Rats No Water 2
We Like Swimming 1
We Like Swimming 2
Waygate No Rats
Spawning Creeps
More Rats
More Worms
Random Events
Running the Events
Tunnel Population
Gold Bonus
Food Bonus
Rats in the Pit
Infernal Fall
---------------------------
Infernal Item
---------------------------
Tunnel Monsters
No Shops
Aid of Bugs
Scatter
Nothing Interesting
Suicide
Player 1 Commits Suicide
Player 2 Commits Suicide
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
Infernal
unit
No
RandomEvent
integer
No
Player 1 Loses
Events
Unit - Beetle King 0010 <gen> Dies
Conditions
Actions
Wait 3.00 seconds
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: You have lost!
Player 2 Loses
Events
Unit - Spider Queen 0009 <gen> Dies
Conditions
Actions
Wait 3.00 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Defeat Player 2 (Blue) with the message: You have lost!
Starting Resources
Events
Map initialization
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 250
Player - Set Player 2 (Blue) . Current gold to 250
Player - Set Player 1 (Red) . Current lumber to 5
Player - Set Player 2 (Blue) . Current lumber to 5
Turning Breedlings to Resource 1
Events
Unit - A unit enters Spawning_Point_1 <gen>
Unit - A unit enters Spawning_Point_2 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Beetle Breedling
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Remove (Triggering unit) from the game
Player - Add 1 to Player 1 (Red) . Current lumber
Game - Display to Player Group - Player 1 (Red) the text: Your Breedling has turned into food!
Special Effect - Create a special effect at (Random point in BreedingPit <gen>) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
Special Effect - Create a special effect at (Random point in BreedingPit <gen>) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
Special Effect - Create a special effect at (Random point in BreedingPit <gen>) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
Special Effect - Create a special effect at (Random point in BreedingPit <gen>) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
Special Effect - Create a special effect at (Random point in BreedingPit <gen>) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
Turning Breedlings to Resource 2
Events
Unit - A unit enters Spawning_Point_1 <gen>
Unit - A unit enters Spawning_Point_2 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Spider Breedling
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Remove (Triggering unit) from the game
Player - Add 1 to Player 2 (Blue) . Current lumber
Game - Display to Player Group - Player 2 (Blue) the text: Your Breedling has turned into food!
Special Effect - Create a special effect at (Random point in BreedingPit <gen>) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
Special Effect - Create a special effect at (Random point in BreedingPit <gen>) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
Special Effect - Create a special effect at (Random point in BreedingPit <gen>) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
Special Effect - Create a special effect at (Random point in BreedingPit <gen>) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
Special Effect - Create a special effect at (Random point in BreedingPit <gen>) using Objects\Spawnmodels\Demon\DemonSmallDeathExplode\DemonSmallDeathExplode.mdl
Gained Resources
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Player - Add 10 to Player 1 (Red) . Current gold
Player - Add 10 to Player 2 (Blue) . Current gold
None Into Pit
Events
Unit - A unit enters BreedingPit <gen>
Conditions
Actions
Unit - Kill (Triggering unit)
Hints
Events
Map initialization
Conditions
Actions
Wait 10.00 seconds
Game - Display to (All players) for 11.00 seconds the text: Welcome to the Bugs Life! This is a very exordinary map, where you play with either Beetle or Spider Army. The idea is to destroy the enemy's main building (either Beetle King or Spider Queen).
Wait 15.00 seconds
Game - Display to (All players) for 21.00 seconds the text: In this map, there is no maximum amount of units, and the lumber is changed to food. You need both food and gold to spawn troops. You get 5 gold every 10 seconds of the game. Getting food is more tricky. You must either kill rats and worms, or you can buy food from the Bloated One. You can also take your Breedlings to the Spawning Pit at center of the map to gain some extra food.
Wait 25.00 seconds
Game - Display to (All players) for 11.00 seconds the text: Every 5 minutes of the game time, a random event will be executed. It might be good (for example, bonus to gold or food) or it might be bad (such as a infernal in the dungeon). Always watch out for the bad ones.
Wait 15.00 seconds
Game - Display to (All players) for 11.00 seconds the text: There's no AI in this map, so computer enemy will not move or spawn troops. This map can only be played in battle.net, or in LAN games. Well, that's all for now. Have fun playing!
Wait 15.00 seconds
Game - Display to (All players) for 21.00 seconds the text: Oh, and by the way; in the rare situation that your hero gets stuck real bad, just write it's name (SON OF THE BEETLE KING/DAUGHTER OF THE SPIDER QUEEN) and it'll die. You can revive it from your base, just as you can always revive it when it dies.
Wait 25.00 seconds
Trigger - Turn on Running_the_Events <gen>
Rats No Water 1
Events
Unit - A unit enters Water_Is_Better_1 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Rat
Actions
Unit - Move (Triggering unit) instantly to (Center of Ground_1 <gen>)
Rats No Water 2
Events
Unit - A unit enters Water_Is_Better_2 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Rat
Actions
Unit - Move (Triggering unit) instantly to (Center of Ground_2 <gen>)
We Like Swimming 1
Events
Unit - A unit enters Water_Is_Better_1 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Worm
Actions
Unit - Move (Triggering unit) instantly to (Center of Swimming_1 <gen>)
We Like Swimming 2
Events
Unit - A unit enters Water_Is_Better_2 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Worm
Actions
Unit - Move (Triggering unit) instantly to (Center of Swimming_2 <gen>)
Waygate No Rats
Events
Unit - A unit enters WayGate_1 <gen>
Unit - A unit enters WayGate_2 <gen>
Unit - A unit enters WayGate_3 <gen>
Unit - A unit enters WayGate_4 <gen>
Unit - A unit enters WayGate_5 <gen>
Unit - A unit enters WayGate_6 <gen>
Unit - A unit enters WayGate_7 <gen>
Unit - A unit enters WayGate_8 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Rat
Actions
Unit - Kill (Triggering unit)
More Rats
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Rat
Actions
Wait 60.00 seconds
Unit - Create 1 . (Unit-type of (Dying unit)) for Neutral Hostile at (Position of (Dying unit)) facing Default building facing degrees
More Worms
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Worm
Actions
Wait 60.00 seconds
Unit - Create 1 . (Unit-type of (Dying unit)) for Neutral Hostile at (Position of (Dying unit)) facing Default building facing degrees
Running the Events
Events
Time - Every 300.00 seconds of game time
Conditions
Actions
Set Variable Set RandomEvent = (Random integer number between 1 and 10)
Wait 0.01 seconds
If (RandomEvent Equal to 1) then do (Run Tunnel_Population <gen> (checking conditions)) else do (Do nothing)
If (RandomEvent Equal to 2) then do (Run Gold_Bonus <gen> (checking conditions)) else do (Do nothing)
If (RandomEvent Equal to 3) then do (Run Food_Bonus <gen> (checking conditions)) else do (Do nothing)
If (RandomEvent Equal to 4) then do (Run Rats_in_the_Pit <gen> (checking conditions)) else do (Do nothing)
If (RandomEvent Equal to 5) then do (Run Infernal_Fall <gen> (checking conditions)) else do (Do nothing)
If (RandomEvent Equal to 6) then do (Run Tunnel_Monsters <gen> (checking conditions)) else do (Do nothing)
If (RandomEvent Equal to 7) then do (Run No_Shops <gen> (checking conditions)) else do (Do nothing)
If (RandomEvent Equal to 8) then do (Run Aid_of_Bugs <gen> (checking conditions)) else do (Do nothing)
If (RandomEvent Equal to 9) then do (Run Scatter <gen> (checking conditions)) else do (Do nothing)
If (RandomEvent Equal to 10) then do (Run Nothing_Interesting <gen> (checking conditions)) else do (Do nothing)
Tunnel Population
Events
Conditions
Actions
Wait 5.00 seconds
Game - Display to (All players) the text: The tunnel population this year is extreme. More rats, worms, kobolds and sludges have been spawned.
Unit - Create 1 Rat for Neutral Hostile at (Random point in MoreRats_1 <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Rat for Neutral Hostile at (Random point in MoreRats_2 <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Rat for Neutral Hostile at (Random point in MoreRats_3 <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Rat for Neutral Hostile at (Random point in MoreRats_4 <gen>) facing (Position of (Triggering unit))
Unit - Create 2 Worm for Neutral Hostile at (Random point in MoreWorms <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Kobold for Neutral Hostile at (Random point in MoreRats_1 <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Kobold for Neutral Hostile at (Random point in MoreRats_2 <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Kobold for Neutral Hostile at (Random point in MoreRats_3 <gen>) facing (Position of (Triggering unit))
Unit - Create 1 Kobold for Neutral Hostile at (Random point in MoreRats_4 <gen>) facing (Position of (Triggering unit))
Unit - Create 2 Sludge Minion for Neutral Hostile at (Random point in MoreWorms <gen>) facing (Position of (Triggering unit))
Gold Bonus
Events
Conditions
Actions
Wait 5.00 seconds
Game - Display to (All players) the text: Both Players are granted with bonus of 500 gold.
Player - Add 500 to Player 1 (Red) . Current gold
Player - Add 500 to Player 2 (Blue) . Current gold
Food Bonus
Events
Conditions
Actions
Wait 5.00 seconds
Game - Display to (All players) the text: Both Players are granted with a bonus of 5 food.
Player - Add 5 to Player 1 (Red) . Current lumber
Player - Add 5 to Player 2 (Blue) . Current lumber
Rats in the Pit
Events
Conditions
Actions
Wait 5.00 seconds
Game - Display to (All players) the text: The spawning pit is infested with rats. You can not turn Breedling to food for 5 minutes.
Trigger - Turn off Turning_Breedlings_to_Resource_1 <gen>
Trigger - Turn off Turning_Breedlings_to_Resource_2 <gen>
Wait 300.00 seconds
Trigger - Turn on Turning_Breedlings_to_Resource_1 <gen>
Trigger - Turn on Turning_Breedlings_to_Resource_2 <gen>
Game - Display to (All players) the text: The rats all died suddenly and Breeding Pit is usable again.
Infernal Fall
Events
Conditions
Actions
Wait 5.00 seconds
Game - Display to (All players) the text: An infernal has fallen from the sky to the surroundings of the Breeding Pit.
Unit - Create 1 . Infernal for Neutral Hostile at (Random point in MoreWorms <gen>) facing Default building facing degrees
Set Variable Set Infernal = (Last created unit)
Wait 300.00 seconds
If ((Infernal is dead) Equal to False) then do (Display to (All players) the text: Infernal power has been lost and it is removed from the dungeon.) else do (Do nothing)
Unit - Remove Infernal from the game
Infernal Item
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(Triggering unit) Equal to Infernal
Actions
Item - Create Tome of Power at (Position of (Dying unit))
Game - Display to (All players) the text: Infernal has been killed!
Tunnel Monsters
Events
Conditions
Actions
Wait 5.00 seconds
Game - Display to (All players) the text: Tunnel monsters have gathered and are attacking your base.
Unit - Create 2 . Skeleton Archer for Neutral Hostile at (Random point in FrontOfBase_1 <gen>) facing Default building facing degrees
Unit - Create 2 . Skeleton Warrior for Neutral Hostile at (Random point in FrontOfBase_1 <gen>) facing Default building facing degrees
Unit - Create 1 . Burning Archer for Neutral Hostile at (Random point in FrontOfBase_1 <gen>) facing Default building facing degrees
Unit - Create 1 . Giant Skeleton Warrior for Neutral Hostile at (Random point in FrontOfBase_1 <gen>) facing Default building facing degrees
Unit - Create 2 . Skeleton Archer for Neutral Hostile at (Random point in FrontOfBase_2 <gen>) facing Default building facing degrees
Unit - Create 2 . Skeleton Warrior for Neutral Hostile at (Random point in FrontOfBase_2 <gen>) facing Default building facing degrees
Unit - Create 1 . Burning Archer for Neutral Hostile at (Random point in FrontOfBase_2 <gen>) facing Default building facing degrees
Unit - Create 1 . Giant Skeleton Warrior for Neutral Hostile at (Random point in FrontOfBase_2 <gen>) facing Default building facing degrees
No Shops
Events
Conditions
Actions
Wait 5.00 seconds
Game - Display to (All players) the text: Both the Bloated One and Goblin Merchant have stopped their business. They'll re-open their sales after 5 minutes.
Unit - Hide Bloated One 0081 <gen>
Unit - Hide Goblin Merchant 0078 <gen>
Wait 300.00 seconds
Unit - Unhide Goblin Merchant 0078 <gen>
Unit - Unhide Bloated One 0081 <gen>
Game - Display to (All players) the text: The shops have re-opened their sales.
Aid of Bugs
Events
Conditions
Actions
Wait 5.00 seconds
Game - Display to (All players) the text: A group of renegade bugs want to join you. You accept them happily.
Unit - Create 3 . Impaler for Player 1 (Red) at (Random point in FrontOfBase_2 <gen>) facing Default building facing degrees
Unit - Create 3 . Tunneler for Player 2 (Blue) at (Random point in FrontOfBase_1 <gen>) facing Default building facing degrees
Scatter
Events
Conditions
Actions
Wait 5.00 seconds
Game - Display to (All players) the text: Some arcane magic got lost in your tunnels. It scattered your hero into the depths of the dungeon. Note: if you wan't your hero to do a suicide, you can always say the name of the hero in capital letters (SON OF THE BEETLE KING/DAUGHTER OF THE SPIDER QUEEN) and it dies.
Unit - Move Daughter of the Spider Queen 0077 <gen> instantly to (Random point in WholePlace <gen>)
Unit - Move Son of the Beetle King 0076 <gen> instantly to (Random point in WholePlace <gen>)
Nothing Interesting
Events
Conditions
Actions
Wait 5.00 seconds
Game - Display to (All players) the text: Nothing interesting today.
Player 1 Commits Suicide
Events
Player - Player 1 (Red) types a chat message containing SON OF THE BEETLE KING (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Kill Son of the Beetle King 0076 <gen>
Player 2 Commits Suicide
Events
Player - Player 2 (Blue) types a chat message containing DAUGHTER OF THE SPIDER QUEEN (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Kill Daughter of the Spider Queen 0077 <gen>
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.