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
Battle of 2154.w3x
Variables
Initialization
Melee Initialization
Police
Wasteland
Unit spawn
Unit move
Unit move Copy
Unit move Copy 2
Unit move Copy 3
Unit move Copy 4
Unit move Copy 5
enterance
Facilities
Facilities
Denfensive Facility
Facilty money
Requirments
Requirments Copy
Requirments Copy 2
Income
income
income lumber
Timer
Timer
Timer Dies
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
Timer
timer
No
TimerWindow
timerdialog
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Enforce victory/defeat conditions (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Create starting units (for all players)
Quest - Create a Required quest titled Info. with the description This map is about four factions in a post-apocalyptic world. They are fighting for control over a strategic point on the borders of the wasteland. In the waste there are Mutants. Tough creeps that that rot and destroy. Every 33 minutes a mutant horde will come, you might have to team up or just fight it out while they come. Gold mines are the crystals and use engineers to mine and harvest lumber. Every soldier is useful and some will get experience. So the more they are kept alive, they more health and damage they will do. To get more food, capture they facitlities, and to get requirements, go capture the building that it needs. If you ever think something in this game is impossible, its not, tere are many creative ways to win, just think outside the box!BTW: I only havefails in the game beause without there trigger the bases wont spawn, sorry i can't get rid of it. And i also hate it! , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Police
Events
Map initialization
Conditions
Actions
Player - Set name of Player 1 (Red) to Tarran's Rebels
Player - Set name of Player 2 (Blue) to Imperial Army
Player - Set name of Player 4 (Purple) to Planetary Mercenaries
Player - Set name of Player 5 (Yellow) to Russian Warriors
Player - Set name of Player 12 (Brown) to City of New Broome's People
Unit spawn
Events
Time - Every 2000.00 seconds of game time
Conditions
Actions
Unit - Create 20 . Mutant for Neutral Hostile at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 10 . Rotter for Neutral Hostile at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 10 . Trained Mutant for Neutral Hostile at (Center of Region_000 <gen>) facing Default building facing degrees
Unit move
Events
Unit - A unit enters Region_000 <gen>
Conditions
(Owner of (Entering unit)) Equal to Neutral Hostile
Actions
Unit - Order (Entering unit) to Attack-Move To . (Random point in Region_001 <gen>)
Unit move Copy
Events
Unit - A unit enters Region_001 <gen>
Conditions
(Owner of (Entering unit)) Equal to Neutral Hostile
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_002 <gen>)
Unit move Copy 2
Events
Unit - A unit enters Region_002 <gen>
Conditions
(Owner of (Entering unit)) Equal to Neutral Hostile
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_003 <gen>)
Unit move Copy 3
Events
Unit - A unit enters Region_003 <gen>
Conditions
(Owner of (Entering unit)) Equal to Neutral Hostile
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_004 <gen>)
Unit move Copy 4
Events
Unit - A unit enters Region_004 <gen>
Conditions
(Owner of (Entering unit)) Equal to Neutral Hostile
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_005 <gen>)
Unit move Copy 5
Events
Unit - A unit enters Region_005 <gen>
Conditions
(Owner of (Entering unit)) Equal to Neutral Hostile
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_001 <gen>)
enterance
Events
Destructible - City Entrance 6611 <gen> dies
Conditions
Actions
Unit - Create 20 . Mutant for Neutral Hostile at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 10 . Rotter for Neutral Hostile at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 10 . Trained Mutant for Neutral Hostile at (Center of Region_000 <gen>) facing Default building facing degrees
Facilities
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Facility
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) controller) Equal to User
(Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
Then - Actions
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( has taken over a + (Name of (Triggering unit))))
Else - Actions
Do nothing
Unit - Change ownership of (Dying unit) to (Owner of (Killing unit)) and Change color
Unit - Replace (Dying unit) with a (Unit-type of (Triggering unit)) using The new unit's max life and mana
Denfensive Facility
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Denfensive Facility
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) controller) Equal to User
(Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
Then - Actions
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( has captured a + (Name of (Triggering unit))))
Else - Actions
Do nothing
Unit - Change ownership of (Dying unit) to (Owner of (Killing unit)) and Change color
Unit - Replace (Dying unit) with a (Unit-type of (Triggering unit)) using The new unit's max life and mana
Facilty money
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Player - Add 1000 to (Owner of Facility 0263 <gen>) . Current gold
Player - Add 1000 to (Owner of Facility 0257 <gen>) . Current gold
Player - Add 1000 to (Owner of Facility 0258 <gen>) . Current gold
Player - Add 1000 to (Owner of Facility 0265 <gen>) . Current gold
Player - Add 1000 to (Owner of Facility 0264 <gen>) . Current gold
Player - Add 1000 to (Owner of Facility 0262 <gen>) . Current gold
Player - Add 1000 to (Owner of Facility 0261 <gen>) . Current gold
Player - Add 1000 to (Owner of Facility 0259 <gen>) . Current gold
Player - Add 1000 to (Owner of Facility 0260 <gen>) . Current gold
Player - Add 1000 to (Owner of Facility 0263 <gen>) . Current lumber
Player - Add 1000 to (Owner of Facility 0257 <gen>) . Current lumber
Player - Add 1000 to (Owner of Facility 0258 <gen>) . Current lumber
Player - Add 1000 to (Owner of Facility 0265 <gen>) . Current lumber
Player - Add 1000 to (Owner of Facility 0264 <gen>) . Current lumber
Player - Add 1000 to (Owner of Facility 0262 <gen>) . Current lumber
Player - Add 1000 to (Owner of Facility 0261 <gen>) . Current lumber
Player - Add 1000 to (Owner of Facility 0259 <gen>) . Current lumber
Player - Add 1000 to (Owner of Facility 0260 <gen>) . Current lumber
Requirments
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Tank Factory
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) controller) Equal to User
(Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
Then - Actions
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( has taken over a + (Name of (Triggering unit))))
Else - Actions
Do nothing
Unit - Change ownership of (Dying unit) to (Owner of (Killing unit)) and Change color
Unit - Replace (Dying unit) with a (Unit-type of (Triggering unit)) using The new unit's max life and mana
Requirments Copy
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Scope Factory
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) controller) Equal to User
(Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
Then - Actions
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( has taken over a + (Name of (Triggering unit))))
Else - Actions
Do nothing
Unit - Change ownership of (Dying unit) to (Owner of (Killing unit)) and Change color
Unit - Replace (Dying unit) with a (Unit-type of (Triggering unit)) using The new unit's max life and mana
Requirments Copy 2
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Airport
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Killing unit)) controller) Equal to User
(Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
Then - Actions
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( has taken over a + (Name of (Triggering unit))))
Else - Actions
Do nothing
Unit - Change ownership of (Dying unit) to (Owner of (Killing unit)) and Change color
Unit - Replace (Dying unit) with a (Unit-type of (Triggering unit)) using The new unit's max life and mana
income
Events
Time - Every 800.00 seconds of game time
Conditions
Actions
Player - Add 500 to Player 1 (Red) . Current gold
Player - Add 500 to Player 2 (Blue) . Current gold
Player - Add 500 to Player 4 (Purple) . Current gold
Player - Add 500 to Player 5 (Yellow) . Current gold
income lumber
Events
Time - Every 800.00 seconds of game time
Conditions
Actions
Player - Add 200 to Player 1 (Red) . Current lumber
Player - Add 200 to Player 2 (Blue) . Current lumber
Player - Add 200 to Player 4 (Purple) . Current lumber
Player - Add 200 to Player 5 (Yellow) . Current lumber
Timer
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Countdown Timer - Start Timer as a Repeating timer that will expire in 2000.00 seconds
Countdown Timer - Create a timer window for (Last started timer) with title AttackIn>>
Countdown Timer - Show (Last created timer window)
Timer Dies
Events
Time - Timer expires
Conditions
Actions
Game - Display to Player Group - Player 1 (Red) the text: The Mutants from the Wasteland are coming!
Game - Display to Player Group - Player 2 (Blue) the text: The Mutants from the Wasteland are coming!
Game - Display to Player Group - Player 5 (Yellow) the text: The Mutants from the Wasteland are coming!
Game - Display to Player Group - Player 4 (Purple) the text: The Mutants from the Wasteland are coming!
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.