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
(2)MicroTrainer.w3x
Variables
Initialization
Melee Initialization
South Player Triggers
North Player Triggers
South Ready
North Ready
North Lose
South Lose
Hero Build
Unit Build
Unit Spawns
Timer
Time Expire North WIn
Time Expire South WIn
Points North
Points South
End Game1
End Game2
Leaderboard
Set Up Leaderboard
Update Leaderboard
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
Kills
integer
Yes
TheLeaderBoard
leaderboard
No
Time
timer
No
Timer
timerdialog
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: Build up your forces, then hit the lever when you are ready to do battle.
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Game - Set the time of day to 12
Game - Turn the day/night cycle Off
Player - Set Player 11 (Dark Green) . Food cap to 100
Player - Set Player 12 (Brown) . Food cap to 100
If ((Player 11 (Dark Green) controller) Equal to Computer) then do (Kill Lever 0327 <gen>) else do (Do nothing)
If ((Player 12 (Brown) controller) Equal to Computer) then do (Kill Lever 0326 <gen>) else do (Do nothing)
South Player Triggers
Events
Map initialization
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of Player 11 (Dark Green)) Equal to Human
Then - Actions
Unit - Create 1 . Castle for Player 11 (Dark Green) at (Center of South_Hall <gen>) facing Default building facing degrees
Unit - Create 1 . Blacksmith for Player 11 (Dark Green) at (Center of South_Hall <gen>) facing Default building facing degrees
Unit - Create 1 . Altar of Kings for Player 11 (Dark Green) at (Center of South_Alter <gen>) facing Default building facing degrees
Unit - Create 1 . Barracks for Player 11 (Dark Green) at (Center of South_Barracks <gen>) facing Default building facing degrees
Unit - Create 1 . Lumber Mill for Player 11 (Dark Green) at (Center of South_Mill <gen>) facing Default building facing degrees
Unit - Create 1 . Workshop for Player 11 (Dark Green) at (Center of South_Support <gen>) facing Default building facing degrees
Unit - Create 1 . Arcane Sanctum for Player 11 (Dark Green) at (Center of South_Magic <gen>) facing Default building facing degrees
Unit - Create 1 . Gryphon Aviary for Player 11 (Dark Green) at (Center of South_Air <gen>) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of Player 11 (Dark Green)) Equal to Orc
Then - Actions
Unit - Create 1 . Fortress for Player 11 (Dark Green) at (Center of South_Hall <gen>) facing Default building facing degrees
Unit - Create 1 . Altar of Storms for Player 11 (Dark Green) at (Center of South_Alter <gen>) facing Default building facing degrees
Unit - Create 1 . Barracks for Player 11 (Dark Green) at (Center of South_Barracks <gen>) facing Default building facing degrees
Unit - Create 1 . War Mill for Player 11 (Dark Green) at (Center of South_Mill <gen>) facing Default building facing degrees
Unit - Create 1 . Tauren Totem for Player 11 (Dark Green) at (Center of South_Support <gen>) facing Default building facing degrees
Unit - Create 1 . Spirit Lodge for Player 11 (Dark Green) at (Center of South_Magic <gen>) facing Default building facing degrees
Unit - Create 1 . Beastiary for Player 11 (Dark Green) at (Center of South_Air <gen>) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of Player 11 (Dark Green)) Equal to Night Elf
Then - Actions
Unit - Create 1 . Tree of Eternity for Player 11 (Dark Green) at (Center of South_Hall <gen>) facing Default building facing degrees
Unit - Create 1 . Altar of Elders for Player 11 (Dark Green) at (Center of South_Alter <gen>) facing Default building facing degrees
Unit - Create 1 . Ancient of War for Player 11 (Dark Green) at (Center of South_Barracks <gen>) facing Default building facing degrees
Unit - Create 1 . Hunter's Hall for Player 11 (Dark Green) at (Center of South_Mill <gen>) facing Default building facing degrees
Unit - Create 1 . Ancient of Wind for Player 11 (Dark Green) at (Center of South_Support <gen>) facing Default building facing degrees
Unit - Create 1 . Ancient of Lore for Player 11 (Dark Green) at (Center of South_Magic <gen>) facing Default building facing degrees
Unit - Create 1 . Chimaera Roost for Player 11 (Dark Green) at (Center of South_Air <gen>) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of Player 11 (Dark Green)) Equal to Undead
Then - Actions
Unit - Create 1 . Black Citadel for Player 11 (Dark Green) at (Center of South_Hall <gen>) facing Default building facing degrees
Unit - Create 1 . Altar of Darkness for Player 11 (Dark Green) at (Center of South_Alter <gen>) facing Default building facing degrees
Unit - Create 1 . Crypt for Player 11 (Dark Green) at (Center of South_Barracks <gen>) facing Default building facing degrees
Unit - Create 1 . Graveyard for Player 11 (Dark Green) at (Center of South_Mill <gen>) facing Default building facing degrees
Unit - Create 1 . Slaughterhouse for Player 11 (Dark Green) at (Center of South_Support <gen>) facing Default building facing degrees
Unit - Create 1 . Temple of the Damned for Player 11 (Dark Green) at (Center of South_Magic <gen>) facing Default building facing degrees
Unit - Create 1 . Boneyard for Player 11 (Dark Green) at (Center of South_Air <gen>) facing Default building facing degrees
Else - Actions
North Player Triggers
Events
Map initialization
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of Player 12 (Brown)) Equal to Human
Then - Actions
Unit - Create 1 . Castle for Player 12 (Brown) at (Center of North_Hall <gen>) facing Default building facing degrees
Unit - Create 1 . Blacksmith for Player 12 (Brown) at (Center of North_Hall <gen>) facing Default building facing degrees
Unit - Create 1 . Altar of Kings for Player 12 (Brown) at (Center of North_Alter <gen>) facing Default building facing degrees
Unit - Create 1 . Barracks for Player 12 (Brown) at (Center of North_Barracks <gen>) facing Default building facing degrees
Unit - Create 1 . Lumber Mill for Player 12 (Brown) at (Center of North_Mill <gen>) facing Default building facing degrees
Unit - Create 1 . Workshop for Player 12 (Brown) at (Center of North_Support <gen>) facing Default building facing degrees
Unit - Create 1 . Arcane Sanctum for Player 12 (Brown) at (Center of North_Magic <gen>) facing Default building facing degrees
Unit - Create 1 . Gryphon Aviary for Player 12 (Brown) at (Center of North_Air <gen>) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of Player 12 (Brown)) Equal to Orc
Then - Actions
Unit - Create 1 . Fortress for Player 12 (Brown) at (Center of North_Hall <gen>) facing Default building facing degrees
Unit - Create 1 . Altar of Storms for Player 12 (Brown) at (Center of North_Alter <gen>) facing Default building facing degrees
Unit - Create 1 . Barracks for Player 12 (Brown) at (Center of North_Barracks <gen>) facing Default building facing degrees
Unit - Create 1 . War Mill for Player 12 (Brown) at (Center of North_Mill <gen>) facing Default building facing degrees
Unit - Create 1 . Tauren Totem for Player 12 (Brown) at (Center of North_Support <gen>) facing Default building facing degrees
Unit - Create 1 . Spirit Lodge for Player 12 (Brown) at (Center of North_Magic <gen>) facing Default building facing degrees
Unit - Create 1 . Beastiary for Player 12 (Brown) at (Center of North_Air <gen>) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of Player 12 (Brown)) Equal to Night Elf
Then - Actions
Unit - Create 1 . Tree of Eternity for Player 12 (Brown) at (Center of North_Hall <gen>) facing Default building facing degrees
Unit - Create 1 . Altar of Elders for Player 12 (Brown) at (Center of North_Alter <gen>) facing Default building facing degrees
Unit - Create 1 . Ancient of War for Player 12 (Brown) at (Center of North_Barracks <gen>) facing Default building facing degrees
Unit - Create 1 . Hunter's Hall for Player 12 (Brown) at (Center of North_Mill <gen>) facing Default building facing degrees
Unit - Create 1 . Ancient of Wind for Player 12 (Brown) at (Center of North_Support <gen>) facing Default building facing degrees
Unit - Create 1 . Ancient of Lore for Player 12 (Brown) at (Center of North_Magic <gen>) facing Default building facing degrees
Unit - Create 1 . Chimaera Roost for Player 12 (Brown) at (Center of North_Air <gen>) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of Player 12 (Brown)) Equal to Undead
Then - Actions
Unit - Create 1 . Black Citadel for Player 12 (Brown) at (Center of North_Hall <gen>) facing Default building facing degrees
Unit - Create 1 . Altar of Darkness for Player 12 (Brown) at (Center of North_Alter <gen>) facing Default building facing degrees
Unit - Create 1 . Crypt for Player 12 (Brown) at (Center of North_Barracks <gen>) facing Default building facing degrees
Unit - Create 1 . Graveyard for Player 12 (Brown) at (Center of North_Mill <gen>) facing Default building facing degrees
Unit - Create 1 . Slaughterhouse for Player 12 (Brown) at (Center of North_Support <gen>) facing Default building facing degrees
Unit - Create 1 . Temple of the Damned for Player 12 (Brown) at (Center of North_Magic <gen>) facing Default building facing degrees
Unit - Create 1 . Boneyard for Player 12 (Brown) at (Center of North_Air <gen>) facing Default building facing degrees
Else - Actions
South Ready
Events
Destructible - Lever 0327 <gen> dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Lever 0326 <gen> is dead) Equal to True
Then - Actions
Game - Display to (All players) the text: |Cffff0000Ready, FIGHT!
Unit Group - Pick every unit in (Units in South_Region <gen> matching (((Matching unit) is A structure) Equal to False)) and do (Move (Picked unit) instantly to (Center of South_Enter <gen>))
Camera - . Apply . gg_cam_North_Cam_left for Player 12 (Brown) over 0 seconds
Unit Group - Pick every unit in (Units in North_Region <gen> matching (((Matching unit) is A structure) Equal to False)) and do (Move (Picked unit) instantly to (Center of North_Enter <gen>))
Camera - . Apply . gg_cam_South_Cam_left for Player 11 (Dark Green) over 0 seconds
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) is A structure) Equal to True)) and do (Change ownership of (Picked unit) to Neutral Passive and Change color)
Destructible - Pick every destructible in (Playable map area) and do (Resurrect (Picked destructible) with (Max life of (Picked destructible)) life and Show birth animation)
Trigger - Run Unit_Spawns <gen> (checking conditions)
Trigger - Run Timer <gen> (checking conditions)
Trigger - Turn on South_Lose <gen>
Trigger - Turn on North_Lose <gen>
Else - Actions
Game - Display to Player Group - Player 12 (Brown) the text: ((Name of Player 11 (Dark Green)) + is ready, and waiting on you!)
Game - Display to Player Group - Player 11 (Dark Green) the text: You have announced that you are ready.
North Ready
Events
Destructible - Lever 0326 <gen> dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Lever 0327 <gen> is dead) Equal to True
Then - Actions
Game - Display to (All players) the text: |Cffff0000Ready, FIGHT!
Unit Group - Pick every unit in (Units in South_Region <gen> matching (((Matching unit) is A structure) Equal to False)) and do (Move (Picked unit) instantly to (Center of South_Enter <gen>))
Camera - . Apply . gg_cam_North_Cam_left for Player 12 (Brown) over 0 seconds
Unit Group - Pick every unit in (Units in North_Region <gen> matching (((Matching unit) is A structure) Equal to False)) and do (Move (Picked unit) instantly to (Center of North_Enter <gen>))
Camera - . Apply . gg_cam_South_Cam_left for Player 11 (Dark Green) over 0 seconds
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) is A structure) Equal to True)) and do (Change ownership of (Picked unit) to Neutral Passive and Change color)
Destructible - Pick every destructible in (Playable map area) and do (Resurrect (Picked destructible) with (Max life of (Picked destructible)) life and Show birth animation)
Trigger - Run Unit_Spawns <gen> (checking conditions)
Trigger - Run Timer <gen> (checking conditions)
Trigger - Turn on South_Lose <gen>
Trigger - Turn on North_Lose <gen>
Else - Actions
Game - Display to Player Group - Player 11 (Dark Green) the text: ((Name of Player 12 (Brown)) + is ready, and waiting on you!)
Game - Display to Player Group - Player 12 (Brown) the text: You have announced that you are ready.
North Lose
Events
Player - Player 12 (Brown) 's Food used becomes Equal to 0.00
Conditions
Actions
Countdown Timer - Pause Time
Countdown Timer - Destroy (Last created timer window)
Game - Display to (All players) the text: ((Name of Player 11 (Dark Green)) + has won the round! Prepare for next!)
Wait 4.00 seconds
Set Variable Set Kills[(Player number of Player 11 (Dark Green))] = (Kills[(Player number of Player 11 (Dark Green))] + 1)
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Destructible - Pick every destructible in (Playable map area) and do (Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation)
Destructible - Resurrect Lever 0327 <gen> with (Max life of (Last created destructible)) life and Hide birth animation
Destructible - Resurrect Lever 0326 <gen> with (Max life of (Last created destructible)) life and Hide birth animation
Camera - . Apply . gg_cam_North_main for Player 12 (Brown) over 0 seconds
Camera - . Apply . gg_cam_South_main for Player 11 (Dark Green) over 0 seconds
If ((Player 11 (Dark Green) controller) Equal to Computer) then do (Pick every unit in (Units in (Playable map area) owned by Player 11 (Dark Green)) and do (Remove (Picked unit) from the game)) else do (Do nothing)
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green) matching (((Picked unit) is A structure) Equal to False).) and do (Move (Picked unit) instantly to (Center of South_Region <gen>))
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green) matching (((Picked unit) is A structure) Equal to False).) and do (Set life of (Picked unit) to 100%)
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green) matching (((Picked unit) is A structure) Equal to False).) and do (Set mana of (Picked unit) to 100%)
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) matching (((Picked unit) is A structure) Equal to False).) and do (Move (Picked unit) instantly to (Center of North_Region <gen>))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) matching (((Picked unit) is A structure) Equal to False).) and do (Set life of (Picked unit) to 100%)
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) matching (((Picked unit) is A structure) Equal to False).) and do (Set mana of (Picked unit) to 100%)
Unit Group - Pick every unit in (Units in South_Region <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Change ownership of (Picked unit) to Player 11 (Dark Green) and Change color)
Unit Group - Pick every unit in (Units in North_Region <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Change ownership of (Picked unit) to Player 12 (Brown) and Change color)
Trigger - Turn off South_Lose <gen>
Trigger - Turn off North_Lose <gen>
Wait 2.00 seconds
If ((Player 11 (Dark Green) controller) Equal to Computer) then do (Kill Lever 0327 <gen>) else do (Do nothing)
If ((Player 12 (Brown) controller) Equal to Computer) then do (Kill Lever 0326 <gen>) else do (Do nothing)
South Lose
Events
Player - Player 11 (Dark Green) 's Food used becomes Equal to 0.00
Conditions
Actions
Countdown Timer - Pause Time
Countdown Timer - Destroy (Last created timer window)
Game - Display to (All players) the text: ((Name of Player 12 (Brown)) + has won the round! Prepare for next!)
Wait 4.00 seconds
Set Variable Set Kills[(Player number of Player 12 (Brown))] = (Kills[(Player number of Player 12 (Brown))] + 1)
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
Destructible - Pick every destructible in (Playable map area) and do (Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation)
Destructible - Resurrect Lever 0327 <gen> with (Max life of (Last created destructible)) life and Hide birth animation
Destructible - Resurrect Lever 0326 <gen> with (Max life of (Last created destructible)) life and Hide birth animation
Camera - . Apply . gg_cam_North_main for Player 12 (Brown) over 0 seconds
Camera - . Apply . gg_cam_South_main for Player 11 (Dark Green) over 0 seconds
If ((Player 12 (Brown) controller) Equal to Computer) then do (Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Remove (Picked unit) from the game)) else do (Do nothing)
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) matching (((Picked unit) is A structure) Equal to False).) and do (Move (Picked unit) instantly to (Center of North_Region <gen>))
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) matching (((Picked unit) is A structure) Equal to False).) and do (Set life of (Picked unit) to 100%)
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) matching (((Picked unit) is A structure) Equal to False).) and do (Set mana of (Picked unit) to 100%)
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green) matching (((Picked unit) is A structure) Equal to False).) and do (Move (Picked unit) instantly to (Center of South_Region <gen>))
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green) matching (((Picked unit) is A structure) Equal to False).) and do (Set life of (Picked unit) to 100%)
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green) matching (((Picked unit) is A structure) Equal to False).) and do (Set mana of (Picked unit) to 100%)
Player - Add 1 to Player 12 (Brown) . Current lumber
Unit Group - Pick every unit in (Units in South_Region <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Change ownership of (Picked unit) to Player 11 (Dark Green) and Change color)
Unit Group - Pick every unit in (Units in North_Region <gen> matching (((Matching unit) is A structure) Equal to True)) and do (Change ownership of (Picked unit) to Player 12 (Brown) and Change color)
Trigger - Turn off South_Lose <gen>
Trigger - Turn off North_Lose <gen>
Wait 2.00 seconds
If ((Player 11 (Dark Green) controller) Equal to Computer) then do (Kill Lever 0327 <gen>) else do (Do nothing)
If ((Player 12 (Brown) controller) Equal to Computer) then do (Kill Lever 0326 <gen>) else do (Do nothing)
Hero Build
Events
Unit - A unit owned by Player 11 (Dark Green) . Finishes training a unit
Unit - A unit owned by Player 12 (Brown) . Finishes training a unit
Unit - Tavern 0005 <gen> Sells a unit
Unit - Tavern 0006 <gen> Sells a unit
Conditions
(((Trained unit) is A Hero) Equal to True) or (((Sold unit) is A Hero) Equal to True)
Actions
Hero - Set (Trained unit) Hero-level to 10 , Hide level-up graphics
Hero - Set (Sold unit) Hero-level to 10 , Hide level-up graphics
Unit Build
Events
Unit - A unit owned by Player 11 (Dark Green) . Finishes training a unit
Unit - A unit owned by Player 12 (Brown) . Finishes training a unit
Conditions
Actions
Unit - Set mana of (Trained unit) to 100 %
Unit Spawns
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 12 (Brown) controller) Equal to Computer
(Race of Player 12 (Brown)) Equal to Human
Then - Actions
Unit - Create 1 . Bronze Dragon for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 1 . Magnataur Destroyer for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 1 . Faceless One Deathbringer for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 1 . Footman for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 5 . Knight for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 7 . Rifleman for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 4 . Priest for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 3 . Sorceress for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 4 . Mortar Team for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 2 . Spellbreaker for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 3 . Gryphon Rider for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit Group - Pick every unit in (Units in North_Enter <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of South_Enter <gen>))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 12 (Brown) controller) Equal to Computer
(Race of Player 12 (Brown)) Equal to Orc
Then - Actions
Unit - Create 1 . Red Dragon for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 1 . Salamander Lord for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 1 . Dragon Turtle for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 1 . Grunt for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 6 . Tauren for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 8 . Headhunter for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 4 . Shaman for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 3 . Witch Doctor for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 2 . Kodo Beast for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 4 . Wind Rider for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit Group - Pick every unit in (Units in North_Enter <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of South_Enter <gen>))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 12 (Brown) controller) Equal to Computer
(Race of Player 12 (Brown)) Equal to Undead
Then - Actions
Unit - Create 1 . Infernal Juggernaut for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 1 . Nether Dragon for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 1 . Deeplord Revenant for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 2 . Ghoul for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 5 . Abomination for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 8 . Crypt Fiend for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 3 . Meat Wagon for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 4 . Necromancer for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 3 . Frost Wyrm for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 2 . Obsidian Statue for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 3 . Banshee for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit Group - Pick every unit in (Units in North_Enter <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of South_Enter <gen>))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 12 (Brown) controller) Equal to Computer
(Race of Player 12 (Brown)) Equal to Night Elf
Then - Actions
Unit - Create 1 . Green Dragon for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 1 . Ancient Hydra for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 1 . Queen of Suffering for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 2 . Archer for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 3 . Mountain Giant for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 6 . Dryad for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 4 . Huntress for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 2 . Druid of the Claw (Night Elf Form) for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 3 . Druid of the Talon (Night Elf Form) for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit - Create 4 . Chimaera for Player 12 (Brown) at (Center of North_Enter <gen>) facing 270.00 degrees
Unit Group - Pick every unit in (Units in North_Enter <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of South_Enter <gen>))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 11 (Dark Green) controller) Equal to Computer
(Race of Player 11 (Dark Green)) Equal to Human
Then - Actions
Unit - Create 1 . Bronze Dragon for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 1 . Magnataur Destroyer for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 1 . Faceless One Deathbringer for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 1 . Footman for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 5 . Knight for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 7 . Rifleman for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 4 . Priest for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 3 . Sorceress for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 4 . Mortar Team for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 2 . Spellbreaker for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 3 . Gryphon Rider for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit Group - Pick every unit in (Units in South_Enter <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of North_Enter <gen>))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 11 (Dark Green) controller) Equal to Computer
(Race of Player 7 (Green)) Equal to Orc
Then - Actions
Unit - Create 1 . Red Dragon for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 1 . Salamander Lord for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 1 . Dragon Turtle for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 1 . Grunt for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 6 . Tauren for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 8 . Headhunter for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 4 . Shaman for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 3 . Witch Doctor for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 2 . Kodo Beast for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 4 . Wind Rider for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit Group - Pick every unit in (Units in South_Enter <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of North_Enter <gen>))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 11 (Dark Green) controller) Equal to Computer
(Race of Player 11 (Dark Green)) Equal to Undead
Then - Actions
Unit - Create 1 . Infernal Juggernaut for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 1 . Nether Dragon for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 1 . Deeplord Revenant for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 2 . Ghoul for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 5 . Abomination for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 8 . Crypt Fiend for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 3 . Meat Wagon for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 4 . Necromancer for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 3 . Frost Wyrm for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 2 . Obsidian Statue for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 3 . Banshee for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit Group - Pick every unit in (Units in South_Enter <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of North_Enter <gen>))
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 11 (Dark Green) controller) Equal to Computer
(Race of Player 11 (Dark Green)) Equal to Night Elf
Then - Actions
Unit - Create 1 . Green Dragon for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 1 . Ancient Hydra for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 1 . Queen of Suffering for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 2 . Archer for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 3 . Mountain Giant for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 6 . Dryad for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 4 . Huntress for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 2 . Druid of the Claw (Night Elf Form) for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 3 . Druid of the Talon (Night Elf Form) for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit - Create 4 . Chimaera for Player 11 (Dark Green) at (Center of South_Enter <gen>) facing 90.00 degrees
Unit Group - Pick every unit in (Units in South_Enter <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of North_Enter <gen>))
Else - Actions
Do nothing
Timer
Events
Conditions
Actions
Countdown Timer - Start Time as a One-shot timer that will expire in 300.00 seconds
Countdown Timer - Create a timer window for (Last started timer) with title Time Remaining
Time Expire North WIn
Events
Time - Time expires
Conditions
(Number of units in (Units in Combat_Arena <gen> owned by Player 12 (Brown))) Greater than (Number of units in (Units in Combat_Arena <gen> owned by Player 11 (Dark Green)))
Actions
Trigger - Run South_Lose <gen> (checking conditions)
Time Expire South WIn
Events
Time - Time expires
Conditions
(Number of units in (Units in Combat_Arena <gen> owned by Player 11 (Dark Green))) Greater than (Number of units in (Units in Combat_Arena <gen> owned by Player 12 (Brown)))
Actions
Trigger - Run North_Lose <gen> (checking conditions)
Points North
Events
Unit - A unit Dies
Conditions
(Owner of (Killing unit)) Equal to Player 12 (Brown)
Actions
Player - Add 1 to Player 12 (Brown) . Current gold
Player - Add 1 to Player 11 (Dark Green) . Current gold
Points South
Events
Unit - A unit Dies
Conditions
(Owner of (Killing unit)) Equal to Player 11 (Dark Green)
Actions
Player - Add 1 to Player 12 (Brown) . Current lumber
Player - Add 1 to Player 11 (Dark Green) . Current lumber
End Game1
Events
Player - Player 11 (Dark Green) leaves the game
Conditions
Actions
Game - Victory Player 12 (Brown) ( Show dialogs, Show scores)
End Game2
Events
Player - Player 12 (Brown) leaves the game
Conditions
Actions
Game - Victory Player 11 (Dark Green) ( Show dialogs, Show scores)
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 Matches Won
Set Variable Set TheLeaderBoard = (Last created leaderboard)
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 11 (Dark Green) in TheLeaderBoard to Kills[11]
Leaderboard - Change the value for Player 12 (Brown) in TheLeaderBoard to Kills[12]
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.