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
Halo wars v0.25.w3x
Variables
Initialization
Initialization
Setup Players
Show Middle Message
Codes
Spartan 117
Kaboom
Spwan Units
Spawn Marines
Spawn Grunts
Spawn Snipers
Spawn Rmarines
Spawn Spartans
Spawn Jackals
Spawn Elites
Spawn Brutes
LeaderBoard
LeaderBoard
SetLeaderBoard
Leave
Bounty
Bounty
Pick Heroes
Show Building
Player Loses
Check if Players Leave
Building Destroyed
Messages
Tip 1
Tip 2
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
PlayerKills
integer
Yes
Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Set starting resources (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Setup Players
Events
Map initialization
Conditions
Actions
-------- Remove anyone not playing. This must be done first. --------
For each (Integer A) from 1 to 12 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer A))) slot status) Not equal to Is playing
Then - Actions
Player Group - Remove (Picked player) from (All players) .
Unit Group - Pick every unit in (Units owned by (Player((Integer A))).) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Else - Actions
Show Middle Message
Events
Map initialization
Conditions
Actions
Game - Display to (All players) for 20.00 seconds the text: |cff32cd32Welcome to Halo Wars! Noob? Well this is simple, just destroy the other team's bases! 5 custom heros on each team = 10. You might want to fight in the middle first thou, if you just attack the base directly, wont be pretty. And PROTECT your food supply or u CANNOT buy any more units. Have Fun!
Game - Display to (All players) for 20.00 seconds the text: Any good unit or game add-on ideas? Let me know at the guestbook on |cff32cd32www.darkfire554maps.co.nr and check out my other maps too!
Spartan 117
Events
Player - Player 1 (Red) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Hero - Set (Random unit from (Units currently selected by (Triggering player))) Hero-level to 1000 , Show level-up graphics
Kaboom
Events
Player - Player 1 (Red) types a chat message containing Kaboom! (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing Master Chief's Level Owns (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Explode (Random unit from (Units currently selected by (Owner of (Triggering unit)))) .
Quest - Display to Player Group - Player 1 (Red) the Quest Update message: Cheat Enabled
Spawn Marines
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Barracks -> Footman --------
If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Pillar of Autumn Base))) Equal to True) then do (Create 1.Marine for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Grunts
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Barracks -> Footman --------
If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Covenant Base))) Equal to True) then do (Create 1.Grunt for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Snipers
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Barracks -> Footman --------
If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Sniper Den))) Equal to True) then do (Create 1.Sniper for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Rmarines
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Barracks -> Footman --------
If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Rocket House))) Equal to True) then do (Create 1.Rocket Launcher Marine for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Spartans
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Barracks -> Footman --------
If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Spartan Assault Cabin))) Equal to True) then do (Create 1.Spartan for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Jackals
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Barracks -> Footman --------
If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Energy Shield Observatory))) Equal to True) then do (Create 1.Jackal for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Elites
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Barracks -> Footman --------
If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Elite Department))) Equal to True) then do (Create 1.Elite for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Brutes
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Barracks -> Footman --------
If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Brute Temple))) Equal to True) then do (Create 1.Brute Warrior for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
LeaderBoard
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Countdown Timer - Start Timer as a One-shot timer that will expire in 30.00 seconds
Leaderboard - Create a leaderboard for (All players) titled 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) slot status) Equal to Is playing
((Picked player) controller) Equal to User
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)
SetLeaderBoard
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[(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
Leave
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) .
Bounty
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Turn Gives bounty On for (Picked player)
Show Building
Events
Map initialization
Conditions
Actions
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 1.00 seconds
Camera - . Apply . gg_cam_Camera_002 for Player 7 (Green) over 1.00 seconds
Check if Players Leave
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
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) slot status) Not equal to Is playing
Then - Actions
Unit Group - Pick every unit in (Units owned by (Picked player).) and do (Kill (Picked unit))
Game - Display to (All players) the text: ((Name of (Picked player)) + has left the game.)
Player Group - Remove (Picked player) from (All players) .
Else - Actions
Do nothing
Building Destroyed
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Covenant Base
(Unit-type of (Triggering unit)) Equal to Pillar of Autumn Base
Actions
Game - Display to (All players) the text: ((Name of (Owner of (Triggering unit))) + |cffff0000 has been slaughtered!!|r)
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Kill (Picked unit))
Player Group - Remove (Owner of (Triggering unit)) from (All players) .
Tip 1
Events
Time - Elapsed game time is 45.00 seconds
Conditions
Actions
Game - Display to (All players) for 10.00 seconds the text: Tip 1 - Spend your $$ carefully, cause its all you've got. Buy upgrades, BUT your gonna need at least 100 left over.
Tip 2
Events
Time - Elapsed game time is 60.00 seconds
Conditions
Actions
Game - Display to (All players) for 10.00 seconds the text: Tip 2 - Be careful of picking the melee hereos, because units are all ranged. And dont always think master chief is great
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.