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
The_Last_Stand_2.2_Beta.w3x
Variables
Initialization
Melee Initialization
Portals
Start 1
Start 2
Port 1
Port 2
Port 3
Port 4
Port 5
Port 6
Port 7
Port 8
Port 9
Port 10
Light Base Enter
Light Base Leave
Dark Base Enter
Dark Base Leave
Death
Light Death
Dark Death
Killing
Pause
Pause
Unpause
Items
Light Side
Dark Side
Text
Tip
Thanks
Leaver
Light Leaver
Dark Leaver
Income
Income
Victory
Win
Leader Board
Leader Board
trigger tally
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
Player_Kills
integer
Yes
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 - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
Start 1
Events
Unit - A unit enters Region_000 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_022 <gen>)
Start 2
Events
Unit - A unit enters Region_001 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_033 <gen>)
Port 1
Events
Unit - A unit enters Region_008 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_003 <gen>)
Port 2
Events
Unit - A unit enters Region_002 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_007 <gen>)
Port 3
Events
Unit - A unit enters Region_010 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_004 <gen>)
Port 4
Events
Unit - A unit enters Region_005 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_006 <gen>)
Port 5
Events
Unit - A unit enters Region_009 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_013 <gen>)
Port 6
Events
Unit - A unit enters Region_023 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_025 <gen>)
Port 7
Events
Unit - A unit enters Region_026 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_027 <gen>)
Port 8
Events
Unit - A unit enters Region_029 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_006 <gen>)
Port 9
Events
Unit - A unit enters Region_028 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_024 <gen>)
Port 10
Events
Unit - A unit enters Region_031 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_030 <gen>)
Light Base Enter
Events
Unit - A unit enters Region_016 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_015 <gen>)
Light Base Leave
Events
Unit - A unit enters Region_014 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_017 <gen>)
Dark Base Enter
Events
Unit - A unit enters Region_021 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_019 <gen>)
Dark Base Leave
Events
Unit - A unit enters Region_018 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_020 <gen>)
Light Death
Events
Unit - A unit owned by Player 1 (Red) . Dies
Unit - A unit owned by Player 2 (Blue) . Dies
Unit - A unit owned by Player 4 (Purple) . Dies
Unit - A unit owned by Player 3 (Teal) . Dies
Unit - A unit owned by Player 5 (Yellow) . Dies
Conditions
Actions
Hero - Instantly revive (Dying unit) at (Center of Region_022 <gen>) , Hide revival graphics
Game - Display to (All players) the text: The light side should get their act together cause one of their players just got OWNED!
Dark Death
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Unit - A unit owned by Player 7 (Green) . Dies
Unit - A unit owned by Player 8 (Pink) . Dies
Unit - A unit owned by Player 9 (Gray) . Dies
Unit - A unit owned by Player 10 (Light Blue) . Dies
Conditions
Actions
Hero - Instantly revive (Dying unit) at (Center of Region_033 <gen>) , Hide revival graphics
Game - Display to (All players) the text: The dark side should stop fooling around and get to work because someone on their team just got OWNED!!!!
Killing
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Unit - A unit owned by Player 1 (Red) . Dies
Unit - A unit owned by Player 2 (Blue) . Dies
Unit - A unit owned by Player 3 (Teal) . Dies
Unit - A unit owned by Player 4 (Purple) . Dies
Unit - A unit owned by Player 5 (Yellow) . Dies
Unit - A unit owned by Player 7 (Green) . Dies
Unit - A unit owned by Player 8 (Pink) . Dies
Unit - A unit owned by Player 9 (Gray) . Dies
Unit - A unit owned by Player 10 (Light Blue) . Dies
Conditions
Actions
Player - Add 500 to (Owner of (Killing unit)) . Current gold
Player - Add 1 to (Owner of (Killing unit)) . Current lumber
Pause
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Game - Pause the game
Game - Display to (All players) the text: You will now have time to talk about your hero selections. Remember teamwork is the key to winning. To resume the game Player 1 can type "-ready"
Unpause
Events
Player - Player 1 (Red) types a chat message containing -ready (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Unpause the game
Game - Display to (All players) the text: Welcome to The Last Stand!!!! You may now select your hero. Then you will travel in the arena fighting member of the opposite team. You may buy items to enhance your hero. Good luck!!!!
Player - Set Player 1 (Red) . Current gold to 500
Player - Set Player 1 (Red) . Current lumber to 100
Player - Set Player 2 (Blue) . Current gold to 500
Player - Set Player 2 (Blue) . Current gold to 100
Player - Set Player 3 (Teal) . Current gold to 500
Player - Set Player 3 (Teal) . Current lumber to 100
Player - Set Player 4 (Purple) . Current gold to 500
Player - Set Player 4 (Purple) . Current gold to 100
Player - Set Player 5 (Yellow) . Current gold to 500
Player - Set Player 5 (Yellow) . Current lumber to 100
Player - Set Player 6 (Orange) . Current gold to 500
Player - Set Player 6 (Orange) . Current lumber to 100
Player - Set Player 7 (Green) . Current gold to 500
Player - Set Player 7 (Green) . Current gold to 100
Player - Set Player 8 (Pink) . Current gold to 500
Player - Set Player 8 (Pink) . Current lumber to 100
Player - Set Player 9 (Gray) . Current gold to 500
Player - Set Player 9 (Gray) . Current lumber to 100
Player - Set Player 10 (Light Blue) . Current gold to 500
Player - Set Player 10 (Light Blue) . Current lumber to 100
Light Side
Events
Unit - A unit enters Region_000 <gen>
Conditions
Actions
Hero - Create Sentry Wards and give it to (Triggering unit)
Hero - Create Potion of Healing and give it to (Triggering unit)
Dark Side
Events
Unit - A unit enters Region_001 <gen>
Conditions
Actions
Hero - Create Sentry Wards and give it to (Triggering unit)
Hero - Create Potion of Healing and give it to (Triggering unit)
Tip
Events
Time - Elapsed game time is 850.00 seconds
Conditions
Actions
Game - Display to (All players) the text: Remember, don't always choose the same hero. You will be a more valuable teammate if you know how to play multiple heroes.
Thanks
Events
Time - Elapsed game time is 300.00 seconds
Conditions
Actions
Game - Display to (All players) the text: This map was created by TheEndIsNear600 and Happy. Many thanks to all of the testers that helped make this game.
Light Leaver
Events
Player - Player 1 (Red) leaves the game
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
Conditions
Actions
Player - Add 1000 to Player 1 (Red) . Current gold
Player - Add 1000 to Player 2 (Blue) . Current gold
Player - Add 1000 to Player 3 (Teal) . Current gold
Player - Add 1000 to Player 4 (Purple) . Current gold
Player - Add 1000 to Player 5 (Yellow) . Current gold
Game - Display to (All players) the text: A Player of the Light Side has just left the battle!!! What a Loser! To make up for his team's tiny loss they will each recieve 1000 gold.
Dark Leaver
Events
Player - Player 6 (Orange) leaves the game
Player - Player 7 (Green) leaves the game
Player - Player 8 (Pink) leaves the game
Player - Player 9 (Gray) leaves the game
Player - Player 10 (Light Blue) leaves the game
Conditions
Actions
Player - Add 1000 to Player 6 (Orange) . Current gold
Player - Add 1000 to Player 7 (Green) . Current gold
Player - Add 1000 to Player 8 (Pink) . Current gold
Player - Add 1000 to Player 9 (Gray) . Current gold
Player - Add 1000 to Player 10 (Light Blue) . Current gold
Game - Display to (All players) the text: A Player of the Dark Side has just left the battle!!! What a Loser! To make up for his team's tiny loss they will each recieve 1000 gold.
Income
Events
Time - Every 180.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 3 (Teal) . Current gold
Player - Add 500 to Player 4 (Purple) . Current gold
Player - Add 500 to Player 5 (Yellow) . Current gold
Player - Add 500 to Player 6 (Orange) . Current gold
Player - Add 500 to Player 7 (Green) . Current gold
Player - Add 500 to Player 8 (Pink) . Current gold
Player - Add 500 to Player 9 (Gray) . Current gold
Player - Add 500 to Player 10 (Light Blue) . Current gold
Game - Display to (All players) the text: INCOME TIME!!!
Item - Create Tome of Power at (Random point in Region_032 <gen>)
Win
Events
Time - Elapsed game time is 2700.00 seconds
Conditions
Actions
Trigger - Turn off Light_Death <gen>
Trigger - Turn off Dark_Death <gen>
Game - Display to (All players) the text: You will no longer be ressurected if you die.
Leader Board
Events
Time - Elapsed game time is 5 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Player Kills
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) controller) Equal to User
((Picked player) slot status) Equal to Is playing
Then - Actions
Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0
Else - Actions
Do nothing
Leaderboard - Show (Last created leaderboard)
trigger tally
Events
Unit - A unit Dies
Conditions
((Triggering unit) belongs to an ally of Player 1 (Red).) Equal to True
Actions
Set Variable Set Player_Kills[(Player number of (Owner of (Killing unit)))] = Player_Kills[((Player number of (Owner of (Killing unit))) + 1)]
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Player_Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
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.