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
Marines vs Zergs.w3x
Variables
Initialization
Victory Team 1
Victory Team 2
Melee Initialization
Melee Initialization 2
Init Run
Music
Teleport
Teleport 2
Trees
Map Initialization
Trigger Update
Leavers
Untitled Trigger 001
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
Dialog
dialog
No
Dialogbutton
button
Yes
PlayerKills
integer
Yes
Victory Team 1
Events
Unit - Zurgling Hive 0021 <gen> Dies
Conditions
Actions
Unit - Remove (Triggering unit) from the game
Game - Defeat Player 6 (Orange) with the message: You have lost!Better luck next time.
Game - Defeat Player 7 (Green) with the message: You have lost!Better luck next time.
Game - Defeat Player 8 (Pink) with the message: You have lost!Better luck next time.
Game - Defeat Player 9 (Gray) with the message: Defeat!
Game - Defeat Player 10 (Light Blue) with the message: You have lost!Better luck next time.
Game - Defeat Player 12 (Brown) with the message: You have lost!Better luck next time.
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 11 (Dark Green) ( Show dialogs, Show scores)
Victory Team 2
Events
Unit - Marines Reinforcments Antana 0028 <gen> Dies
Conditions
Actions
Unit - Remove (Triggering unit) from the game
Game - Defeat Player 1 (Red) with the message: You have lost!Better Luck Next Time
Game - Defeat Player 2 (Blue) with the message: You have lost!Better Luck Next Time
Game - Defeat Player 3 (Teal) with the message: You have lost!Better Luck Next Time
Game - Defeat Player 4 (Purple) with the message: You have lost!Better Luck Next Time
Game - Defeat Player 5 (Yellow) with the message: You have lost!Better Luck Next Time
Game - Defeat Player 11 (Dark Green) with the message: You have lost!Better Luck Next Time
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 - Victory Player 9 (Gray) ( Show dialogs, Show scores)
Game - Victory Player 10 (Light Blue) ( Show dialogs, Show scores)
Game - Victory Player 12 (Brown) ( Show dialogs, Show scores)
Melee Initialization
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Player Group - Pick every player in (All players) and do (Set (Picked player).Current gold to 1000000000)
Dialog - Change the title of Dialog to How Much wood Will you give?
Dialog - Create a dialog button for Dialog labelled 0
Set Variable Set Dialogbutton[1] = (Last created dialog Button)
Dialog - Create a dialog button for Dialog labelled 50
Set Variable Set Dialogbutton[2] = (Last created dialog Button)
Dialog - Create a dialog button for Dialog labelled 75
Set Variable Set Dialogbutton[3] = (Last created dialog Button)
Dialog - Create a dialog button for Dialog labelled 100
Set Variable Set Dialogbutton[4] = (Last created dialog Button)
Dialog - Create a dialog button for Dialog labelled 150
Set Variable Set Dialogbutton[5] = (Last created dialog Button)
Dialog - Create a dialog button for Dialog labelled 300
Set Variable Set Dialogbutton[6] = (Last created dialog Button)
Dialog - Show Dialog for Player 1 (Red)
Game - Display to (All players) for 30.00 seconds the text: Welcome to Chalkies Beta Version of Marines Vs Zergling. War 1.1Alot of the trigger work has been done, similer to that lich king map but my triggers are cleaner(less lag) and better. There is no food cap.Please look in the quest for more information LeaderBoard added...Red choses how much wood to start with!
Melee Initialization 2
Events
Dialog - A dialog button is clicked for Dialog
Conditions
Actions
If ((Clicked dialog button) Equal to Dialogbutton[1]) then do (Pick every player in (All players) and do (Set (Picked player).Current lumber to 0)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[2]) then do (Pick every player in (All players) and do (Set (Picked player).Current lumber to 50)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[3]) then do (Pick every player in (All players) and do (Set (Picked player).Current lumber to 75)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[4]) then do (Pick every player in (All players) and do (Set (Picked player).Current lumber to 100)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[5]) then do (Pick every player in (All players) and do (Set (Picked player).Current lumber to 150)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[6]) then do (Pick every player in (All players) and do (Set (Picked player).Current lumber to 300)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[1]) then do (Display to (All players) the text: ((Name of Player 1 (Red)) + has given you 0 lumber to start how nice)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[2]) then do (Display to (All players) the text: ((Name of Player 1 (Red)) + has given you 50 lumber to start how nice)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[3]) then do (Display to (All players) the text: ((Name of Player 1 (Red)) + has given you 75 lumber to start how nice)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[4]) then do (Display to (All players) the text: ((Name of Player 1 (Red)) + has given you 100 lumber to start how nice)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[5]) then do (Display to (All players) the text: ((Name of Player 1 (Red)) + has given you 150 lumber to start how nice)) else do (Do nothing)
If ((Clicked dialog button) Equal to Dialogbutton[6]) then do (Display to (All players) the text: ((Name of Player 1 (Red)) + has given you 300 lumber to start how nice)) else do (Do nothing)
Trigger - Run Init_Run <gen> (ignoring conditions)
Init Run
Events
Conditions
Actions
Visibility - Disable black mask
Visibility - Disable fog of war
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Use melee time of day (for all players)
Melee Game - Create (Race of Player 1 (Red)) starting units for Player 1 (Red) at (Player 1 (Red) start location) ( false (Unexpected type: 'includeoption') Heroes)
Melee Game - Create (Race of Player 2 (Blue)) starting units for Player 2 (Blue) at (Player 2 (Blue) start location) ( false (Unexpected type: 'includeoption') Heroes)
Melee Game - Create (Race of Player 3 (Teal)) starting units for Player 3 (Teal) at (Player 3 (Teal) start location) ( false (Unexpected type: 'includeoption') Heroes)
Melee Game - Create (Race of Player 4 (Purple)) starting units for Player 4 (Purple) at (Player 4 (Purple) start location) ( false (Unexpected type: 'includeoption') Heroes)
Melee Game - Create (Race of Player 5 (Yellow)) starting units for Player 5 (Yellow) at (Player 5 (Yellow) start location) ( false (Unexpected type: 'includeoption') Heroes)
Melee Game - Create (Race of Player 6 (Orange)) starting units for Player 6 (Orange) at (Player 6 (Orange) start location) ( false (Unexpected type: 'includeoption') Heroes)
Melee Game - Create (Race of Player 7 (Green)) starting units for Player 7 (Green) at (Player 7 (Green) start location) ( false (Unexpected type: 'includeoption') Heroes)
Melee Game - Create (Race of Player 8 (Pink)) starting units for Player 8 (Pink) at (Player 8 (Pink) start location) ( false (Unexpected type: 'includeoption') Heroes)
Melee Game - Create (Race of Player 9 (Gray)) starting units for Player 9 (Gray) at (Player 9 (Gray) start location) ( false (Unexpected type: 'includeoption') Heroes)
Melee Game - Create (Race of Player 10 (Light Blue)) starting units for Player 10 (Light Blue) at (Player 10 (Light Blue) start location) ( false (Unexpected type: 'includeoption') Heroes)
Music
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Sound - Stop music Immediately
Sound - Play
Teleport
Events
Unit - A unit enters Teleport_01 <gen>
Unit - A unit enters Teleport_02 <gen>
Unit - A unit enters Teleport_03 <gen>
Unit - A unit enters Teleport_04 <gen>
Unit - A unit enters Teleport_05 <gen>
Unit - A unit enters Teleport_06 <gen>
Unit - A unit enters Teleport_13 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Teleport_15 <gen>)
If (((Triggering unit) is A peon-type unit) Equal to False) then do (Order (Triggering unit) to Attack-Move To.(Center of Teleport_16 <gen>)) else do (Do nothing)
Teleport 2
Events
Unit - A unit enters Teleport_07 <gen>
Unit - A unit enters Teleport_08 <gen>
Unit - A unit enters Teleport_09 <gen>
Unit - A unit enters Teleport_10 <gen>
Unit - A unit enters Teleport_11 <gen>
Unit - A unit enters Teleport_12 <gen>
Unit - A unit enters Teleport_14 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Teleport_16 <gen>)
If (((Triggering unit) is A peon-type unit) Equal to False) then do (Order (Triggering unit) to Attack-Move To.(Center of Teleport_15 <gen>)) else do (Do nothing)
Trees
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Destructible - Pick every destructible in (Playable map area) and do (If (((Picked destructible) is alive) Equal to True) then do (Set life of (Picked destructible) to 100%) else do (Do nothing))
Map Initialization
Events
Map initialization
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Pawnage Tabble
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
Leaderboard - Show (Last created leaderboard)
Trigger Update
Events
Unit - A unit Dies
Conditions
((Dying unit) belongs to an enemy of (Owner of (Killing unit)).) Equal to True
Actions
Set Variable Set PlayerKills[PlayerKills[(Player number of (Owner of (Killing unit)))]] = PlayerKills[((Player number of (Owner of (Killing unit))) + 1)]
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to PlayerKills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
Leavers
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
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
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Untitled Trigger 001
Events
Map initialization
Conditions
Actions
Quest - Create a Optional quest titled I would like to Thank... with the description Callahan for hovertank (not in this version)Callahan for commander heroCallahan for Obital strike spellKofi_Banan for the barracks modelKofi_Banan for the BunkerBRON-fixed6 for Medic model·····Mc ! for the Titan modelalfredx_sotn for the antana modelOh and vist www.hiveworkshop.com Vist them for my latest map and becuse they are a good community of map makers moders and modlers , using icon path ReplaceableTextures\CommandButtons\BTNBattleRoar.blp
Quest - Create a Required quest titled The Story with the description Marines:Marine: "Sir we have news that there is a zurg army here"Commander: "What here it cannot be this is a desert planet what would they want?"Marine:"I don't know commander but whatever the reson i don't think this is a idea spot to make a scout planet."Commander: "Foolish speaking your a Marine you know no fear"Marine:"But Sir.."Commander: "No more of that marine we ill attack there main stucture the Hive"Zerg:Zergling: "Those wreched humans are here king.."Hydralisk King: "Well they must be on to us"Zergling: "What shall we do master?"Hydralisk King: "We will destroy there antana so they have no more reforcements then kill what ever is left"Zergling: "Good plan master"Hydralisk King: "Rally the others war has begun..." , using icon path ReplaceableTextures\CommandButtons\BTNBattleRoar.blp
Quest - Create a Optional quest titled How to conntact me with the description You can contact me at www.hiveworkshop.com(user:chalkie)or [email protected] leave commets , using icon path ReplaceableTextures\CommandButtons\BTNBasicStruct.blp
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.