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 Maze Flag Dwarf.w3x
Variables
Initialization
Melee Initialization
Gold For Flag Guy
Flag
Unit 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
Owner_Of_Flag_Guy
force
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Player Group - Make (All players) treat (All players) as an Ally
If ((Player 1 (Red) controller) Not equal to User) then do (Kill Mountain King 0027 <gen>) else do (Do nothing)
If ((Player 2 (Blue) controller) Not equal to User) then do (Kill Mountain King 0033 <gen>) else do (Do nothing)
If ((Player 3 (Teal) controller) Not equal to User) then do (Kill Mountain King 0032 <gen>) else do (Do nothing)
If ((Player 4 (Purple) controller) Not equal to User) then do (Kill Mountain King 0031 <gen>) else do (Do nothing)
If ((Player 5 (Yellow) controller) Not equal to User) then do (Kill Mountain King 0030 <gen>) else do (Do nothing)
If ((Player 6 (Orange) controller) Not equal to User) then do (Kill Mountain King 0029 <gen>) else do (Do nothing)
If ((Player 7 (Green) controller) Not equal to User) then do (Kill Mountain King 0022 <gen>) else do (Do nothing)
If ((Player 8 (Pink) controller) Not equal to User) then do (Kill Mountain King 0028 <gen>) else do (Do nothing)
If ((Player 9 (Gray) controller) Not equal to User) then do (Kill Mountain King 0026 <gen>) else do (Do nothing)
If ((Player 10 (Light Blue) controller) Not equal to User) then do (Kill Mountain King 0025 <gen>) else do (Do nothing)
If ((Player 11 (Dark Green) controller) Not equal to User) then do (Kill Mountain King 0024 <gen>) else do (Do nothing)
If ((Player 12 (Brown) controller) Not equal to User) then do (Kill Mountain King 0023 <gen>) else do (Do nothing)
Gold For Flag Guy
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in Owner_Of_Flag_Guy and do (Add 1 to (Picked player).Current gold)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Random player from Owner_Of_Flag_Guy) Current gold) Equal to 300
Then - Actions
Quest - Display to (All players) the Quest Update message: Somone has one
Quest - Display to (All players) the Quest Update message: It was you
Else - Actions
Flag
Events
Unit - A unit Acquires an item
Conditions
Actions
Player Group - Add (Owner of (Triggering unit)) to Owner_Of_Flag_Guy
Player Group - Make (All players) treat Owner_Of_Flag_Guy as an Enemy
Player Group - Make Owner_Of_Flag_Guy treat (All players) as an Enemy
Unit Dies
Events
Unit - A unit Dies
Conditions
Actions
Player Group - Remove (Owner of (Triggering unit)) from Owner_Of_Flag_Guy .
If (gg_item_ratf_0034 Equal to (Item carried by (Triggering unit) in slot 1)) then do (Make (All players) treat (All players) as an Ally with shared vision) else do (Do nothing)
Wait 10.00 seconds
Unit - Create 1 . (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at (Player 1 (Red) start location) facing Default building facing degrees
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.