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
1flagctf.w3x
Variables
Initialization
Wellcome
PlayerGroups
Choose
ChooseAssasinA
ChooseMageA
ChooseOgreA
ChooseDruidA
ChooseDemonA
ChooseAssasinO
ChooseMageO
ChooseOgreO
ChooseDruidO
ChooseDemonO
Describe
DescriptAssasinA
DescriptMageA
DescriiptOgreA
DescriptDruidA
DescriptDemonA
DescriptAssasinO
DescriptMageO
DescriiptOgreO
DescriptDruidO
DescriptDemonO
Revive
Revive
Leaderboard
Set Up Leaderboard
Update Leaderboard
ChangeValueA
ChangeValueO
Creeps
Creeps1
Creeps2
Creeps3A
Creeps3B
FlagCreeps
Alerts
FlagPickedUp
FlagDropped
Victory
VictoryA
VictoryO
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
Alpha
force
No
Force00
Alphapoints
integer
No
Item
integer
No
Kills
integer
Yes
Omega
force
No
Force01
Omegapoints
integer
No
TheLeaderBoard
leaderboard
No
Wellcome
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Set (Picked player) . Current gold to 500
Player - Set (Picked player) . Current lumber to 200
Visibility - Enable black mask
Player Group - Pick every player in Alpha and do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across ChooseA <gen>
Player Group - Pick every player in Omega and do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across ChooseO <gen>
Wait 2 seconds
Game - Display to (All players) the text: Wellcome to 1 Flag CTF by Annoying Entertainment.
Wait 2 seconds
Game - Display to (All players) the text: The rules are following:
Wait 2 seconds
Game - Display to (All players) the text: Grab the flag in the middle of the map and take it to your opponents' camp.
Wait 2 seconds
Game - Display to (All players) the text: Use your Swordsman to walk on the runes to choose a Hero. The sign in front of every Hero holds descriptions to the Hero. Then you just have to take the flag to your opponents' |cffFFFFFFwhite|r area.
Wait 2 seconds
Game - Display to (All players) the text: The first team to score 10 points wins!
PlayerGroups
Events
Map initialization
Conditions
Actions
Player Group - Add Player 3 (Teal) to Alpha
Player Group - Add Player 4 (Purple) to Alpha
Player Group - Add Player 5 (Yellow) to Alpha
Player Group - Add Player 6 (Orange) to Alpha
Player Group - Add Player 7 (Green) to Alpha
Player Group - Add Player 8 (Pink) to Omega
Player Group - Add Player 9 (Gray) to Omega
Player Group - Add Player 10 (Light Blue) to Omega
Player Group - Add Player 11 (Dark Green) to Omega
Player Group - Add Player 12 (Brown) to Omega
ChooseAssasinA
Events
Unit - A unit enters ChooseAssasinA <gen>
Conditions
Actions
Unit - Move Assasin 0055 <gen> instantly to (Center of MajorA <gen>)
Unit - Change ownership of Assasin 0055 <gen> to (Owner of (Entering unit)) and Change color
Camera - Pan camera for (Owner of (Entering unit)) to (Center of MajorA <gen>) over 0.00 seconds
Unit - Kill (Entering unit)
Trigger - Turn off (This trigger)
ChooseMageA
Events
Unit - A unit enters ChooseMageA <gen>
Conditions
Actions
Unit - Move Spirit Mage 0053 <gen> instantly to (Center of MajorA <gen>)
Unit - Change ownership of Spirit Mage 0053 <gen> to (Owner of (Entering unit)) and Change color
Camera - Pan camera for (Owner of (Entering unit)) to (Center of MajorA <gen>) over 0.00 seconds
Unit - Kill (Entering unit)
Trigger - Turn off (This trigger)
ChooseOgreA
Events
Unit - A unit enters ChooseOgreA <gen>
Conditions
Actions
Unit - Move Ogre Basher 0054 <gen> instantly to (Center of MajorA <gen>)
Unit - Change ownership of Ogre Basher 0054 <gen> to (Owner of (Entering unit)) and Change color
Camera - Pan camera for (Owner of (Entering unit)) to (Center of MajorA <gen>) over 0.00 seconds
Unit - Kill (Entering unit)
Trigger - Turn off (This trigger)
ChooseDruidA
Events
Unit - A unit enters ChooseDruidA <gen>
Conditions
Actions
Unit - Move Healer Druid 0056 <gen> instantly to (Center of MajorA <gen>)
Unit - Change ownership of Healer Druid 0056 <gen> to (Owner of (Entering unit)) and Change color
Camera - Pan camera for (Owner of (Entering unit)) to (Center of MajorA <gen>) over 0.00 seconds
Unit - Kill (Entering unit)
Trigger - Turn off (This trigger)
ChooseDemonA
Events
Unit - A unit enters ChooseDemonA <gen>
Conditions
Actions
Unit - Move Demon Lord 0063 <gen> instantly to (Center of MajorA <gen>)
Unit - Change ownership of Demon Lord 0063 <gen> to (Owner of (Entering unit)) and Change color
Camera - Pan camera for (Owner of (Entering unit)) to (Center of MajorA <gen>) over 0.00 seconds
Unit - Kill (Entering unit)
Trigger - Turn off (This trigger)
ChooseAssasinO
Events
Unit - A unit enters ChooseAssasinO <gen>
Conditions
Actions
Unit - Move Assasin 0058 <gen> instantly to (Center of MajorO <gen>)
Unit - Change ownership of Assasin 0058 <gen> to (Owner of (Entering unit)) and Change color
Camera - Pan camera for (Owner of (Entering unit)) to (Center of MajorO <gen>) over 0.00 seconds
Unit - Kill (Entering unit)
Trigger - Turn off (This trigger)
ChooseMageO
Events
Unit - A unit enters ChooseMageO <gen>
Conditions
Actions
Unit - Move Spirit Mage 0059 <gen> instantly to (Center of MajorO <gen>)
Unit - Change ownership of Spirit Mage 0059 <gen> to (Owner of (Entering unit)) and Change color
Camera - Pan camera for (Owner of (Entering unit)) to (Center of MajorO <gen>) over 0.00 seconds
Unit - Kill (Entering unit)
Trigger - Turn off (This trigger)
ChooseOgreO
Events
Unit - A unit enters ChooseOgreO <gen>
Conditions
Actions
Unit - Move Ogre Basher 0060 <gen> instantly to (Center of MajorO <gen>)
Unit - Change ownership of Ogre Basher 0060 <gen> to (Owner of (Entering unit)) and Change color
Camera - Pan camera for (Owner of (Entering unit)) to (Center of MajorO <gen>) over 0.00 seconds
Unit - Kill (Entering unit)
Trigger - Turn off (This trigger)
ChooseDruidO
Events
Unit - A unit enters ChooseDruidO <gen>
Conditions
Actions
Unit - Move Healer Druid 0057 <gen> instantly to (Center of MajorO <gen>)
Unit - Change ownership of Healer Druid 0057 <gen> to (Owner of (Entering unit)) and Change color
Camera - Pan camera for (Owner of (Entering unit)) to (Center of MajorO <gen>) over 0.00 seconds
Unit - Kill (Entering unit)
Trigger - Turn off (This trigger)
ChooseDemonO
Events
Unit - A unit enters ChooseDemonO <gen>
Conditions
Actions
Unit - Move Demon Lord 0064 <gen> instantly to (Center of MajorO <gen>)
Unit - Change ownership of Demon Lord 0064 <gen> to (Owner of (Entering unit)) and Change color
Camera - Pan camera for (Owner of (Entering unit)) to (Center of MajorO <gen>) over 0.00 seconds
Unit - Kill (Entering unit)
Trigger - Turn off (This trigger)
DescriptAssasinA
Events
Unit - A unit enters DescriptAssasinA <gen>
Conditions
Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFFFF00Assasin|r: Cunning Hero, adept at "taking care of" mages. Can learn Feedback, Spell Steal, Wind Walk and Metamorphis. |cffffcc00Attacks land units.|r
DescriptMageA
Events
Unit - A unit enters DescriptMageA <gen>
Conditions
Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFFFF00Spirit Mage|r: Mystical Hero. He is only a ghost, and posseses little physical power, but he has enormous mind powers. Can learn Mana Shield, Magic Flame, Siphon Mana and Death and Decay. |cffffcc00Attacks land and air units.|r
DescriiptOgreA
Events
Unit - A unit enters DescriptOgreA <gen>
Conditions
Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFFFF00Ogre Basher|r: Warrior Hero, uses its enourmous strength to make up for its lesser Intelligence and Agility. Can learn Shockwave, War Stomp, Endurance Aura and Reincarnation. |cffffcc00Attacks land units.|r
DescriptDruidA
Events
Unit - A unit enters DescriptDruidA <gen>
Conditions
Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFFFF00Healer Druid|r: Mystical Hero, adept at healing allies. Can learn Rejuvenation, Healing Well, Blizzard and Mountain Giant. |cffffcc00Attacks land and air units.|r
DescriptDemonA
Events
Unit - A unit enters DescriptDemonA <gen>
Conditions
Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFFFF00Demon Lord|r: Balanced Hero, with both powerful spells and physical strength. Can learn Flame Strike, Life Drain, Sleep and Summon Demons. |cffffcc00Attacks land units.|r
DescriptAssasinO
Events
Unit - A unit enters DescriptAssasinO <gen>
Conditions
Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFFFF00Assasin|r: Cunning Hero, adept at "taking care of" mages. Can learn Feedback, Spell Steal, Wind Walk and Metamorphis. |cffffcc00Attacks land units.|r
DescriptMageO
Events
Unit - A unit enters DescriptMageO <gen>
Conditions
Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFFFF00Spirit Mage|r: Mystical Hero. He is only a ghost, and posseses little physical power, but he has enormous mind powers. Can learn Mana Shield, Magic Flame, Siphon Mana and Death and Decay. |cffffcc00Attacks land and air units.|r
DescriiptOgreO
Events
Unit - A unit enters DescriptOgreO <gen>
Conditions
Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFFFF00Ogre Basher|r: Warrior Hero, uses its enourmous strength to make up for its lesser Intelligence and Agility. Can learn Shockwave, War Stomp, Endurance Aura and Reincarnation. |cffffcc00Attacks land units.|r
DescriptDruidO
Events
Unit - A unit enters DescriptDruidO <gen>
Conditions
Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFFFF00Healer Druid|r: Mystical Hero, adept at healing allies. Can learn Rejuvenation, Healing Well, Blizzard and Mountain Giant. |cffffcc00Attacks land and air units.|r
DescriptDemonO
Events
Unit - A unit enters DescriptDemonO <gen>
Conditions
Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffFFFF00Demon Lord|r: Balanced Hero, with both powerful spells and physical strength. Can learn Flame Strike, Life Drain, Sleep and Summon Demons. |cffffcc00Attacks land units.|r
Revive
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
((Owner of (Dying unit)) controller) Equal to User
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Owner of (Dying unit))) Equal to Human
Then - Actions
Camera - Pan camera for (Owner of (Dying unit)) to (Center of MajorA <gen>) over 10.00 seconds
Wait 10.10 seconds
Hero - Instantly revive (Dying unit) at (Center of MajorA <gen>) , Show revival graphics
Else - Actions
Camera - Pan camera for (Owner of (Dying unit)) to (Center of MajorO <gen>) over 0 seconds
Wait 10.10 seconds
Hero - Instantly revive (Dying unit) at (Center of MajorO <gen>) , Show revival graphics
Set Up Leaderboard
Events
Map initialization
Conditions
Actions
For each (Integer A) from 1 to 14 , do (Set VariableSet Kills[(Integer A)] = "0")
Wait 1.00 seconds
Leaderboard - Create a leaderboard for (All players) titled Points
Set Variable Set TheLeaderBoard = (Last created leaderboard)
If ((Player 1 (Red) slot status) Equal to Is playing) then do (Add Player 1 (Red) to (Last created leaderboard) with label (Name of Player 1 (Red)) and value 0) else do (Do nothing)
If ((Player 2 (Blue) slot status) Equal to Is playing) then do (Add Player 2 (Blue) to (Last created leaderboard) with label (Name of Player 2 (Blue)) and value 0) else do (Do nothing)
If ((Player 3 (Teal) slot status) Equal to Is playing) then do (Add Player 3 (Teal) to (Last created leaderboard) with label (Name of Player 3 (Teal)) and value 0) else do (Do nothing)
If ((Player 4 (Purple) slot status) Equal to Is playing) then do (Add Player 4 (Purple) to (Last created leaderboard) with label (Name of Player 4 (Purple)) and value 0) else do (Do nothing)
If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Add Player 5 (Yellow) to (Last created leaderboard) with label (Name of Player 5 (Yellow)) and value 0) else do (Do nothing)
If ((Player 6 (Orange) slot status) Equal to Is playing) then do (Add Player 6 (Orange) to (Last created leaderboard) with label (Name of Player 6 (Orange)) and value 0) else do (Do nothing)
If ((Player 7 (Green) slot status) Equal to Is playing) then do (Add Player 7 (Green) to (Last created leaderboard) with label (Name of Player 7 (Green)) and value 0) else do (Do nothing)
If ((Player 8 (Pink) slot status) Equal to Is playing) then do (Add Player 8 (Pink) to (Last created leaderboard) with label (Name of Player 8 (Pink)) and value 0) else do (Do nothing)
If ((Player 9 (Gray) slot status) Equal to Is playing) then do (Add Player 9 (Gray) to (Last created leaderboard) with label (Name of Player 9 (Gray)) and value 0) else do (Do nothing)
If ((Player 10 (Light Blue) slot status) Equal to Is playing) then do (Add Player 10 (Light Blue) to (Last created leaderboard) with label (Name of Player 10 (Light Blue)) and value 0) else do (Do nothing)
If ((Player 11 (Dark Green) slot status) Equal to Is playing) then do (Add Player 11 (Dark Green) to (Last created leaderboard) with label (Name of Player 11 (Dark Green)) and value 0) else do (Do nothing)
If ((Player 12 (Brown) slot status) Equal to Is playing) then do (Add Player 12 (Brown) to (Last created leaderboard) with label (Name of Player 12 (Brown)) and value 0) else do (Do nothing)
Trigger - Turn on Update_Leaderboard <gen>
Update Leaderboard
Events
Conditions
Actions
Leaderboard - Change the value for Player 1 (Red) in TheLeaderBoard to Kills[1]
Leaderboard - Change the value for Player 2 (Blue) in TheLeaderBoard to Kills[2]
Leaderboard - Change the value for Player 3 (Teal) in TheLeaderBoard to Kills[3]
Leaderboard - Change the value for Player 4 (Purple) in TheLeaderBoard to Kills[2]
Leaderboard - Change the value for Player 5 (Yellow) in TheLeaderBoard to Kills[5]
Leaderboard - Change the value for Player 6 (Orange) in TheLeaderBoard to Kills[6]
Leaderboard - Change the value for Player 7 (Green) in TheLeaderBoard to Kills[7]
Leaderboard - Change the value for Player 8 (Pink) in TheLeaderBoard to Kills[8]
Leaderboard - Change the value for Player 9 (Gray) in TheLeaderBoard to Kills[9]
Leaderboard - Change the value for Player 10 (Light Blue) in TheLeaderBoard to Kills[10]
Leaderboard - Change the value for Player 11 (Dark Green) in TheLeaderBoard to Kills[11]
Leaderboard - Change the value for Player 12 (Brown) in TheLeaderBoard to Kills[12]
ChangeValueA
Events
Unit - A unit enters MajorO <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 1)
((Owner of (Triggering unit)) is in Alpha.) Equal to True
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Alphapoints = (Alphapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorA <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 2)
((Owner of (Triggering unit)) is in Alpha.) Equal to True
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Alphapoints = (Alphapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorA <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 3)
((Owner of (Triggering unit)) is in Alpha.) Equal to True
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Alphapoints = (Alphapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorA <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 4)
((Owner of (Triggering unit)) is in Alpha.) Equal to True
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Alphapoints = (Alphapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorA <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 5)
((Owner of (Triggering unit)) is in Alpha.) Equal to True
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Alphapoints = (Alphapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorA <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 6)
((Owner of (Triggering unit)) is in Alpha.) Equal to True
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Alphapoints = (Alphapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorA <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
ChangeValueO
Events
Unit - A unit enters MajorA <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) is in Omega.) Equal to True
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 1)
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Omegapoints = (Omegapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Player - Add 1 to (Owner of (Triggering unit)) . Food cap
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorO <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) is in Omega.) Equal to True
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 2)
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Omegapoints = (Omegapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Player - Add 1 to (Owner of (Triggering unit)) . Food cap
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorO <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) is in Omega.) Equal to True
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 3)
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Omegapoints = (Omegapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Player - Add 1 to (Owner of (Triggering unit)) . Food cap
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorO <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) is in Omega.) Equal to True
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 4)
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Omegapoints = (Omegapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Player - Add 1 to (Owner of (Triggering unit)) . Food cap
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorO <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) is in Omega.) Equal to True
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 5)
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Omegapoints = (Omegapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Player - Add 1 to (Owner of (Triggering unit)) . Food cap
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorO <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Triggering unit)) is in Omega.) Equal to True
gg_item_flag_0006 Equal to (Item carried by (Triggering unit) in slot 6)
Then - Actions
Set Variable Set Kills[(Player number of (Owner of (Entering unit)))] = (Kills[(Player number of (Owner of (Entering unit)))] + 1)
Set Variable Set Kills[(Player number of Player 1 (Red))] = (Kills[(Player number of Player 1 (Red))] + 1)
Set Variable Set Omegapoints = (Omegapoints + 1)
Player - Add 1000 to (Owner of (Triggering unit)) . Current gold
Player - Add 500 to (Owner of (Triggering unit)) . Current lumber
Player - Add 1 to (Owner of (Triggering unit)) . Food cap
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (Center of FlagArea <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of MajorO <gen>) over 0 seconds
Wait 0.10 seconds
Unit - Kill (Triggering unit)
Wait 11.00 seconds
Hero - Add 500 experience to (Triggering unit) , Show level-up graphics
Else - Actions
Do nothing
Creeps1
Events
Time - Every 20.00 seconds of game time
Conditions
(Number of units in (Units owned by Neutral Hostile of type Mud Golem (Extra))) Less than 2
Actions
Unit - Create 1 . Mud Golem (Extra) for Neutral Hostile at (Random point in Creep1 <gen>) facing Default building facing degrees
Creeps2
Events
Time - Every 20.00 seconds of game time
Conditions
(Number of units in (Units owned by Neutral Hostile of type Mud Golem)) Less than 2
Actions
Unit - Create 1 . Mud Golem for Neutral Hostile at (Random point in Creep2 <gen>) facing Default building facing degrees
Creeps3A
Events
Time - Every 20.00 seconds of game time
Conditions
(Number of units in (Units owned by Neutral Hostile of type Assassin)) Less than 2
Actions
Unit - Create 1 . Assassin for Neutral Hostile at (Center of Creep3 <gen>) facing Default building facing degrees
Creeps3B
Events
Time - Every 20.00 seconds of game time
Conditions
(Number of units in (Units owned by Neutral Hostile of type Rogue)) Less than 2
Actions
Unit - Create 1 . Rogue for Neutral Hostile at (Center of Creep3 <gen>) facing Default building facing degrees
FlagCreeps
Events
Time - Every 20.00 seconds of game time
Conditions
(Number of units in (Units owned by Neutral Hostile of type Renegade Wizard)) Less than 2
Actions
Unit - Create 1 . Renegade Wizard for Neutral Hostile at (Random point in FlagCreeps <gen>) facing Default building facing degrees
FlagPickedUp
Events
Unit - A unit Acquires an item
Conditions
(Item being manipulated) Equal to gg_item_flag_0006
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Owner of (Triggering unit))) Equal to Human
Then - Actions
Game - Display to (All players) the text: ((Name of (Owner of (Triggering unit))) + in |cffFF0000Team Alpha|r has picked up the flag!)
Else - Actions
Game - Display to (All players) the text: ((Name of (Owner of (Triggering unit))) + in |cff0000FFTeam Omega|r has picked up the flag!)
FlagDropped
Events
Unit - A unit Loses an item
Conditions
(Item being manipulated) Equal to gg_item_flag_0006
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Owner of (Triggering unit))) Equal to Human
Then - Actions
Game - Display to (All players) the text: ((Name of (Owner of (Triggering unit))) + in |cffFF0000Team Alpha|r has dropped the flag!)
Else - Actions
Game - Display to (All players) the text: ((Name of (Owner of (Triggering unit))) + in |cff0000FFTeam Omega|r has dropped the flag!)
VictoryA
Events
Unit - A unit Dies
Conditions
Alphapoints Equal to 10
Actions
Player Group - Pick every player in Alpha and do (Victory (Picked player) (Show dialogs, Show scores))
Player Group - Pick every player in Omega and do (Defeat (Picked player) with the message: Defeat!)
VictoryO
Events
Unit - A unit Dies
Conditions
Omegapoints Equal to 10
Actions
Player Group - Pick every player in Omega and do (Victory (Picked player) (Show dialogs, Show scores))
Player Group - Pick every player in Alpha and do (Defeat (Picked player) with the message: Defeat!)
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.