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
WWIIIv3.w3x
Variables
Initialization
Setup Players
Play Cinematic Intro
Cinematic
Mode
SetUp
Normal
Destruction
Spwan Units
Spawn Basic
Spawn Machinegunners
Spawn Light Infantry
Spawn Helghast Light
Spawn Marine
Spawn Helghast Heavy
Spawn RPG
Cheat
Code
Player Loses
Check if Players Leave
Player Left
Building Destroyed
Bounty
Gold
LeaderBoard
LeaderBoard
SetLeaderBoard
Leave
Win Condition
Winners Declared
FogofWar
Disable
Name
Type
is_array
initial_value
Dialog
dialog
No
DialogButton
button
Yes
PlayerKills
integer
Yes
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
Player - Set Player 1 (Red) . Current lumber to 1000000000
Player - Set Player 2 (Blue) . Current lumber to 1000000000
Player - Set Player 3 (Teal) . Current lumber to 1000000000
Player - Set Player 4 (Purple) . Current lumber to 1000000000
Player - Set Player 5 (Yellow) . Current lumber to 1000000000
Player - Set Player 6 (Orange) . Current lumber to 1000000000
Player - Set Player 7 (Green) . Current lumber to 1000000000
Player - Set Player 8 (Pink) . Current lumber to 1000000000
Player - Set Player 9 (Gray) . Current lumber to 1000000000
Player - Set Player 10 (Light Blue) . Current lumber to 1000000000
Cinematic
Events
Map initialization
Conditions
Actions
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Turn on letterbox mode (hide interface) for (All players) : fade out over 2 seconds
Cinematic - Disable user control for (All players) .
Cinematic - Clear the screen of text messages for (All players) .
Cinematic - Turn subtitle display override On
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 5.00 seconds
Camera - . Apply . gg_cam_Camera_002 for Player 1 (Red) over 5.00 seconds
Cinematic - Send transmission to (All players) from a Player 1 (Red) . Rifleman named Shotgun Marine at (Center of (Playable map area)) : Play No sound and display KEEP PENETRATING! THERE LOSING REINFORCEMENTS! . Modify duration: Add 2.00 seconds and Wait
Camera - . Apply . gg_cam_Camera_003 for Player 1 (Red) over 5.00 seconds
Cinematic - Send transmission to (All players) from a Player 3 (Teal) . Rifleman named Shotgun Marine at (Center of (Playable map area)) : Play No sound and display SHIT! WE NEED BACKUP! . Modify duration: Add 2.00 seconds and Wait
Camera - . Apply . gg_cam_Camera_004 for Player 1 (Red) over 5.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
Camera - Reset camera for Player 1 (Red) to standard game-view over 1.00 seconds
SetUp
Events
Time - Elapsed game time is 13.50 seconds
Conditions
Actions
Dialog - Clear Dialog
Dialog - Change the title of Dialog to Game Mode Selection
Dialog - Create a dialog button for Dialog labelled Normal Mode
Set Variable Set DialogButton[1] = (Last created dialog Button)
Dialog - Create a dialog button for Dialog labelled Mass Destruction Mode
Set Variable Set DialogButton[2] = (Last created dialog Button)
Dialog - Show Dialog for Player 1 (Red)
Normal
Events
Dialog - A dialog button is clicked for Dialog
Conditions
(Clicked dialog button) Equal to DialogButton[1]
Actions
Game - Display to (All players) the text: Player 1 has selected to play Normal Mode
Destruction
Events
Dialog - A dialog button is clicked for Dialog
Conditions
(Clicked dialog button) Equal to DialogButton[2]
Actions
Player - Set Player 1 (Red) . Current gold to 1000000000
Player - Set Player 2 (Blue) . Current gold to 1000000000
Player - Set Player 3 (Teal) . Current gold to 1000000000
Player - Set Player 4 (Purple) . Current gold to 1000000000
Player - Set Player 5 (Yellow) . Current gold to 1000000000
Player - Set Player 6 (Orange) . Current gold to 1000000000
Player - Set Player 7 (Green) . Current gold to 1000000000
Player - Set Player 8 (Pink) . Current gold to 1000000000
Player - Set Player 9 (Gray) . Current gold to 1000000000
Player - Set Player 10 (Light Blue) . Current gold to 1000000000
Game - Display to (All players) the text: Player 1 has selected Mass Destrucion Mode
Spawn Basic
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
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 Marine Base 1))) Equal to True) then do (Create 1.Rifleman for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Machinegunners
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
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 Marine Base 2))) Equal to True) then do (Create 1.Machinegunner for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Light Infantry
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
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 Marine Base 3))) Equal to True) then do (Create 1.Light Marine AK-47 Infantry for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Helghast Light
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
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 Helghast Base 1))) Equal to True) then do (Create 1.Helghast Light Infantry for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Marine
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
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 Marine Base 4))) 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 Helghast Heavy
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
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 Helghast Base 2))) Equal to True) then do (Create 1.Helghast Heavy Infantry for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn RPG
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
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 Marine Base 5))) Equal to True) then do (Create 1.RPG Marine for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Code
Events
Player - Player 1 (Red) types a chat message containing GimmeItAll (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing GimmeItAll (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing GimmeItAll (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing GimmeItAll (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing GimmeItAll (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing GimmeItAll (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing GimmeItAll (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing GimmeItAll (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing GimmeItAll (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing GimmeItAll (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Player - Add 1000000000 to Player 1 (Red) . Current gold
Check if Players Leave
Events
Time - Elapsed game time is 1.00 seconds
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
Player Left
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
Player Group - Pick every player in (All allies of (Triggering player).) and do (Actions)
Loop - Actions
Player - Make (Triggering player) treat (Picked player) as an Ally with shared vision and full shared units
Building Destroyed
Events
Unit - A unit Dies
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Triggering unit)) Equal to Marine Base 3
(Unit-type of (Triggering unit)) Equal to Marine Base 2
(Unit-type of (Triggering unit)) Equal to Marine Base 4
(Unit-type of (Triggering unit)) Equal to Marine Base 5
(Unit-type of (Triggering unit)) Equal to Helghast Base 1
(Unit-type of (Triggering unit)) Equal to Helghast Base 2
(Unit-type of (Triggering unit)) Equal to Marine Base 1
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) .
Game - Defeat (Owner of (Triggering unit)) with the message: Defeat!
Gold
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)
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)
Leaderboard - Hide (Last created leaderboard)
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) .
Winners Declared
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) is in (All players).) Equal to False
(Player 2 (Blue) is in (All players).) Equal to False
(Player 3 (Teal) is in (All players).) Equal to False
(Player 4 (Purple) is in (All players).) Equal to False
(Player 5 (Yellow) is in (All players).) Equal to False
Then - Actions
Game - Victory Player 10 (Light Blue) ( Show dialogs, Show scores)
Game - Victory Player 9 (Gray) ( 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 6 (Orange) ( Show dialogs, Show scores)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 6 (Orange) is in (All players).) Equal to False
(Player 7 (Green) is in (All players).) Equal to False
(Player 8 (Pink) is in (All players).) Equal to False
(Player 9 (Gray) is in (All players).) Equal to False
(Player 10 (Light Blue) is in (All players).) Equal to False
Then - Actions
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)
Else - Actions
Do nothing
Disable
Events
Map initialization
Conditions
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_v <gen>
Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across Region_v <gen>
Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility across Region_v <gen>
Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Visibility across Region_v <gen>
Visibility - Create an initially Enabled visibility modifier for Player 5 (Yellow) emitting Visibility across Region_v <gen>
Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility across Region_v <gen>
Visibility - Create an initially Enabled visibility modifier for Player 7 (Green) emitting Visibility across Region_v <gen>
Visibility - Create an initially Enabled visibility modifier for Player 8 (Pink) emitting Visibility across Region_v <gen>
Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility across Region_v <gen>
Visibility - Create an initially Enabled visibility modifier for Player 10 (Light Blue) emitting Visibility across Region_v <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.