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
Copia de lol w3x.w3x
Variables
Win Condition
Winners Declared
Initialization
Setup Game
Setup Players
Spawning of Forces
Spawn Footmen
Spawn Militia
Spawn Spellbreaker
Spawn Skeletons
Spawn Riflemen
Spawn Grunts
Spawn Headhunters
Spawn Crypt Fiends
Spawn Raiders
Spawn Archers
Spawn Huntress
Spawn Dryads
Spawn Ghouls
Spawn Abominations
Spawn Knights
Spawn Taurens
Spawn Glaive Throwers
Initialization
Melee Initialization
Hero or Item Choosing and Assasine
Hero Is Sold
Name
Type
is_array
initial_value
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
(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
Then - Actions
Game - Victory Player 10 (Light Blue) ( Show dialogs, Show scores)
Game - Victory Player 11 (Dark Green) ( Show dialogs, Show scores)
Game - Victory Player 12 (Brown) ( Show dialogs, Show scores)
Else - Actions
Do nothing
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
(Player 6 (Orange) is in (All players).) Equal to False
(Player 10 (Light Blue) is in (All players).) Equal to False
(Player 11 (Dark Green) is in (All players).) Equal to False
(Player 12 (Brown) is in (All players).) Equal to False
Then - Actions
Game - Victory Player 7 (Green) ( Show dialogs, Show scores)
Game - Victory Player 8 (Pink) ( Show dialogs, Show scores)
Game - Victory Player 9 (Gray) ( Show dialogs, Show scores)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 4 (Purple) is in (All players).) Equal to False
(Player 5 (Yellow) is in (All players).) Equal to False
(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
(Player 11 (Dark Green) is in (All players).) Equal to False
(Player 12 (Brown) 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)
Else - Actions
Do nothing
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 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
(Player 11 (Dark Green) is in (All players).) Equal to False
(Player 12 (Brown) is in (All players).) Equal to False
Then - Actions
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Game - Victory Player 5 (Yellow) ( Show dialogs, Show scores)
Game - Victory Player 6 (Orange) ( Show dialogs, Show scores)
Else - Actions
Do nothing
Setup Game
Events
Map initialization
Conditions
Actions
-------- Melee Init --------
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (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
-------- Give players gold, turn bounty on, and vision the middle --------
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Set (Picked player) . Current gold to 2000
Player - Turn Gives bounty On for (Picked player)
-------- Create the teams --------
-------- Limit Custom Heroes --------
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Limit training of to 1 for (Picked player)
Player - Limit training of to 1 for (Picked player)
Player - Limit training of to 1 for (Picked player)
Player - Limit training of to 1 for (Picked player)
Player - Limit training of to 1 for (Picked player)
Player - Limit training of to 1 for (Picked player)
Player - Limit training of to 1 for (Picked player)
Player - Limit training of to 1 for (Picked player)
Player - Limit training of to 1 for (Picked player)
Player - Limit training of to 1 for (Picked player)
Spawn Footmen
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 Barracks))) Equal to True) then do (Create 1.Footman for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Militia
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Keep -> Militia --------
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 h00G))) Equal to True) then do (Create 2.Militia for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Spellbreaker
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- MiniCastle -> Spellbreaker --------
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 h00S))) Equal to True) then do (Create 1.Spellbreaker for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Skeletons
Events
Time - Every 6.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Halls of the Dead -> Skeleton --------
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 h00I))) Equal to True) then do (Create 2.Skeletal Mage for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Riflemen
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Upgrade Barracks -> Riflemen --------
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 h00B))) 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 Grunts
Events
Time - Every 9.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Stronghold -> Grunt --------
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 Keep))) 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 Headhunters
Events
Time - Every 8.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (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 h00C))) Equal to True) then do (Create 1.Berserker for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Crypt Fiends
Events
Time - Every 8.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (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 h00E))) Equal to True) then do (Create 1.Crypt Fiend for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Raiders
Events
Time - Every 8.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Fortress -> Raider --------
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 h00H))) Equal to True) then do (Create 1.Raider for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Archers
Events
Time - Every 4.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Tree of Life -> Archer --------
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 Town Hall))) Equal to True) then do (Create 1.Archer for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Huntress
Events
Time - Every 8.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Upgraded Tree of Life -> Huntress --------
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 h00D))) Equal to True) then do (Create 1.Huntress for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Dryads
Events
Time - Every 8.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Tree of Ages -> Dryad --------
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 h00J))) Equal to True) then do (Create 1.Dryad for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Ghouls
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Necropolis -> Ghoul --------
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 Castle))) Equal to True) then do (Create 1.Ghoul for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Abominations
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Black Citadel -> Abominations --------
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 h00N))) Equal to True) then do (Create 1.Abomination for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Knights
Events
Time - Every 7.50 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Castle -> Knights --------
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 h00O))) Equal to True) then do (Create 1.Knight for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Taurens
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Tauren Totem -> Taurens --------
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 h00M))) Equal to True) then do (Create 1.Tauren for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Spawn Glaive Throwers
Events
Time - Every 8.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
-------- Tree of Eternity --------
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 h00L))) Equal to True) then do (Create 1.e00D for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing)
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
Hero Is Sold
Events
Unit - A unit Sells a unit
Conditions
((Sold unit) is A Hero) Equal to True
Actions
Hero - Create Scroll of Town Portal and give it to (Sold unit)
Unit - Move (Sold unit) instantly to ((Owner of (Sold unit)) start location)
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.