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
good vs evil 0.4.w3x
Variables
Initialization
quest
limit 1
limit 2
limit 3
limit 4
attack 1
attack 2
hero
worker 1
gold
worker 2
win 1
win 2
Initialization
music
reciepes
sword of attack
crown of kings
soul gem
helm of valor
wirts leg
killmaim
mindstaff
staff of intelligence
slippers of agility
war axe
hood of frenzy
hood of frenzy drop
hood of frenzy buy
bladebane armor
gloves of agility
spells
BlinkStrike
weapons
holy mage weapon buy
holy mage weapon drop
mountain king weapon buy
mountain king weapon drop
windrunner weapon buy
windrunner weapon drop
paladin weapon buy
paladin weapon drop
arthas weapon buy
arthas weapon drop
antonidas weapon buy
antonidas weapon drop
blademaster weapon buy
blademaster weapon drop
shadow hunter weapon buy
shadow hunter weapon drop
tauren chieftain weapon buy
tauren chieftain weapon drop
thrall weapon buy
thrall weapon drop
rexxar weapon buy
rexxar weapon drop
grom weapon buy
grom weapon drop
stone giant weapon buy
stone giant weapon drop
keeper weapon buy
keeper weapon drop
priestess weapon buy
priestess weapon drop
warden weapon buy
warden weapon drop
furion weapon buy
furion weapon drop
llidan weapon buy
llidan weapon drop
lich weapon buy
lich weapon drop
dreadlord weapon buy
dreadlord weapon drop
crypt lord weapon buy
crypt lord weapon drop
pit lord weapon buy
pit lord weapon drop
dark ranger weapon buy
dark ranger weapon drop
death knight weapon buy
death knight weapon drop
items
poison sword 1
poison sword 2
poison sword 3
poison sword 4
poison sword 5
corrupted sword 1
corrupted sword 2
corrupted sword 3
corrupted sword 4
corrupted sword 5
cold sword 1
cold sword 2
cold sword 3
cold sword 4
cold sword 5
fire sword 1
fire sword 2
fire sword 3
fire sword 4
fire sword 5
darkness sword 1
darkness sword 2
darkness sword 3
darkness sword 4
darkness sword 5
bosses
spawn
brood mother attack
brood mother leave
dire wolf attack
dire wolf leave
ursa warrior attack
ursa warrior leave
nightcrawler attack
nightcrawler leave
satyr attack
satyr leave
razorman attack
razorman leave
berserk attack
berserk leave
centaur attack
centaur leave
starting building
player 1
player 2
player 3
player 4
player 5
player 7
player 8
player 9
player 10
player 11
player leaves
player 1 leaves
player 2 leaves
player 3 leaves
player 4 leaves
player 5 leaves
player 7 leaves
player 8 leaves
player 9 leaves
player 10 leaves
player 11 leaves
sell
sell
race
night elf 1
night elf 2
night elf 3
night elf 4
night elf 5
human 1
human 2
human 3
human 4
human 5
undead 7
undead 8
undead 9
undead 10
undead 11
orc 7
orc 8
orc 9
orc 10
orc 11
gold units
gold 1 footman
gold 1 swordsman
gold 1 gryphon
gold 1 sorceress
gold 1 sniper
gold 1 healer
gold 1 mortal team
gold 1 marine
gold 1 archer
gold 1 ranger
gold 1 huntress
gold 1 glaive thrower
gold 1 dryad
gold 1 hippogryph rider
gold 1 druid of the talon
gold 2 grunt
gold 2 raider
gold 2 batrider
gold 2 headhunter
gold 2 spirit walker
gold 2 shaman
gold 2 demolisher
gold 2 ghoul
gold 2 crypt fiend
gold 2 abomination
gold 2 meat wagon
gold 2 gargoyle
gold 2 necromancer
gold 2 zombie
gold buildings
gold 1 footman barracks
gold 1 swordsman barracks
gold 1 sorceress sanctum
gold 1 gryphon aviary
gold 1 sniper workshop
gold 1 healer sanctum
gold 1 mortal team blacksmith
gold 1 marine workshop
gold 1 archer barracks
gold 1 ranger barracks
gold 1 dryad hut
gold 1 hippogryph rider roost
gold 1 druid of the talon lore
gold 1 glaive thrower hall
gold 1 huntress lair
gold 1 altar of hero human
gold 1 altar of hero night elf
gold 2 grunt barracks
gold 2 raider barracks
gold 2 batrider hut
gold 2 headhunter hut
gold 2 shaman totem
gold 2 demolisher mill
gold 2 spirit walker sanctum
gold 2 ghoul crypt
gold 2 crypt fiend pit
gold 2 altar of hero undead
gold 2 abomination slaughterhouse
gold 2 meat wagon graveyard
gold 2 gargoyle boneyard
gold 2 temple of necromancers
gold 2 zombie crypt
gold 2 altar of hero orc
gold heros
paladin
arthas
mountain king
artonidas
holy mage
wind runner
blademaster
thrall
shadow shaman
rexxar
hellscream
tauren chieftain
priestness of the moon
warden
mountain giant
furion
llidan
keeper of the grove
death knight
lich
crypt lord
gold towers
gold 1 arrow tower
gold 1 splash tower
gold 1 arcana tower
gold 1 energy tower
gold 1 ancient protector
gold 1 obelisk
gold 2 borrow
gold 2 fountain of fire
gold 2 watch tower
gold 2 spirit tower
gold 2 nerubian tower
Training
Train Units 1
Train Units 2
Train Units 3
Train Units 4
Player Change
Convert Units Bottom Middle
Convert Units Top Middle
Castle Attack
bottom spawn
top spawn
bottom attack
top attack
Top Middle
Bottom Middle
top exit 1
top exit 2
bottom exit 1
bottom exit 2
middle 1
middle 2
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
playblemaparea
location
No
TempLoc00
location
No
quest
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled overall with the description you need to choose race. than you'll have 2 workers, 1 builds buildings that trains units and other build tower to protect base. you can upgrade all your units and buildings and also you can have hero from altar of hero. there are many items for hero. to win you must destroy enemy castle. , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Create a Required quest titled units with the description every race has some special unitshuman - healer - heal,night elf - dryad - trueshot aura,orc - shaman - bloodlust,undead - abomination - lifesteal auraevery 20 seconds there are spawning 9 creeps, 3 of each race.troops:100 gold : melee unit300 gold : ranger unit500 gold : unit with race ability1000 gold : unit with range upgrade3000 gold : flying unit5000 gold : range unit with splash attack , using icon path ReplaceableTextures\CommandButtons\BTNFootman.blp
Quest - Create a Required quest titled upgrades with the description there are upgrades for every unit or tower, every upgrade has 10 level.upgrades :damage : 20% attack speed : 10% (5% for units with range upgrades)hp : 20%armor : 20% for units, more for buildingshp regeneration : 100%range : 50 (only for 1 unit per race)ability : increases 1 levelif you upgrade units upgrade it will work on every other unit of that type (you upgrade footman attack on level 5 and other has upgraded to level 3 footman shall have 5 lvl attack) it also works on units that are spawning in middle every 20 second, so its better if 2 or more has 1 race that only 1 upgrades, because other shall not work.but for tower upgrade every upgrade only works on your towers. , using icon path ReplaceableTextures\CommandButtons\BTNSorceressMaster.blp
Quest - Create a Required quest titled heroes and items with the description every race has 6 heroes, 2 for every attribute.hero can be trained in altar of hero (1000 gold) that engeneer are building and hero cost 100 gold and 1 wood so you can only have 1 hero.max hero level is 1000, hero has 5 spell, 4 normal and 1 attribute bonus, every spell has 20 lvl, every level of attribute bonus is giving hero 10 bonus to his attribute and 5 to other 2 attributes.there are many items for heroes, shops are in 4 places but they have big range and you can buy item everywhere, there also are recipe shops, there names are level 1, level 2 and etc. aura shop is only for aura items, there are many auras(damage , lifesteal, armor and etc.). and item shop there are orb effect weapons , if you buy this weapons it has special effects and can be upgraded, there is item named weapon it costs 10000 and gives every hero some special effects and also some skills, damage or attack speed. shop is for normal items that are required by reciepes. , using icon path ReplaceableTextures\CommandButtons\BTNHeroPaladin.blp
Quest - Create a Required quest titled bosses with the description bosses are neutral creeps that are on map, they are for money and xp and they are not dropping any items, if boss is killed it shall respawn in 20 seconds, money only is given to killer.brood mother :hp : 20000damage : 500 cd : 2secarmor : 20gold awarded : 2000dire wolf : attack : 1000cd : 1.5sechp : 30000armor : 40gold awarded : 5000 , using icon path ReplaceableTextures\CommandButtons\BTNcentaur.blp
(Owner of (Attacking unit)) Equal to Player 1 (Red)
(Owner of (Attacking unit)) Equal to Player 3 (Teal)
(Owner of (Attacking unit)) Equal to Player 2 (Blue)
(Owner of (Attacking unit)) Equal to Player 4 (Purple)
(Owner of (Attacking unit)) Equal to Player 5 (Yellow)
And - All (Conditions) are true
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Attacked unit)) Equal to Player 1 (Red)
(Owner of (Attacked unit)) Equal to Player 2 (Blue)
(Owner of (Attacked unit)) Equal to Player 3 (Teal)
(Owner of (Attacked unit)) Equal to Player 4 (Purple)
(Owner of (Attacked unit)) Equal to Player 5 (Yellow)
(Owner of (Attacked unit)) Equal to Player 6 (Orange)
Actions
Unit - Order (Attacking unit) to Move To . (Position of (Attacked unit))
attack 2
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Attacking unit)) Equal to Player 7 (Green)
(Owner of (Attacking unit)) Equal to Player 8 (Pink)
(Owner of (Attacking unit)) Equal to Player 9 (Gray)
(Owner of (Attacking unit)) Equal to Player 10 (Light Blue)
(Owner of (Attacking unit)) Equal to Player 11 (Dark Green)
And - All (Conditions) are true
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Attacked unit)) Equal to Player 7 (Green)
(Owner of (Attacked unit)) Equal to Player 8 (Pink)
(Owner of (Attacked unit)) Equal to Player 9 (Gray)
(Owner of (Attacked unit)) Equal to Player 10 (Light Blue)
(Owner of (Attacked unit)) Equal to Player 11 (Dark Green)
(Owner of (Attacked unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Attacking unit) to Move To . (Position of (Attacked unit))
hero
Events
Unit - A unit Is attacked
Conditions
((Attacked unit) is A structure) Equal to True
((Attacking unit) is A Hero) Equal to True
Actions
Unit - Order (Attacking unit) to Move To . (Position of (Attacked unit))
worker 1
Events
Unit - A unit enters middle <gen>
Conditions
And - All (Conditions) are true
Conditions
((Triggering unit) is A peon-type unit) Equal to True
((Triggering unit) is A Hero) Equal to False
((Triggering unit) is Summoned) Equal to False
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
(Owner of (Triggering unit)) Equal to Player 1 (Red)
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
(Owner of (Triggering unit)) Equal to Player 5 (Yellow)
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Move (Triggering unit) instantly to (Center of bottom <gen>)
gold
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player - Add 10 to Player 1 (Red) . Current gold
Player - Add 10 to Player 2 (Blue) . Current gold
Player - Add 10 to Player 3 (Teal) . Current gold
Player - Add 10 to Player 4 (Purple) . Current gold
Player - Add 10 to Player 5 (Yellow) . Current gold
Player - Add 10 to Player 7 (Green) . Current gold
Player - Add 10 to Player 8 (Pink) . Current gold
Player - Add 10 to Player 9 (Gray) . Current gold
Player - Add 10 to Player 10 (Light Blue) . Current gold
Player - Add 10 to Player 11 (Dark Green) . Current gold
worker 2
Events
Unit - A unit enters middle <gen>
Conditions
And - All (Conditions) are true
Conditions
((Triggering unit) is A peon-type unit) Equal to True
((Triggering unit) is A Hero) Equal to False
((Triggering unit) is Summoned) Equal to False
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 7 (Green)
(Owner of (Triggering unit)) Equal to Player 8 (Pink)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Move (Triggering unit) instantly to (Center of top <gen>)
win 1
Events
Unit - A unit Dies
Conditions
(Triggering unit) Equal to dark castle 0010 <gen>
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)
Game - Defeat Player 7 (Green) with the message: Defeat!
Game - Defeat Player 8 (Pink) with the message: Defeat!
Game - Defeat Player 9 (Gray) with the message: Defeat!
Game - Defeat Player 10 (Light Blue) with the message: Defeat!
Game - Defeat Player 11 (Dark Green) with the message: Defeat!
win 2
Events
Unit - A unit Dies
Conditions
(Triggering unit) Equal to light castle 0009 <gen>
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)
Game - Victory Player 10 (Light Blue) ( Show dialogs, Show scores)
Game - Victory Player 11 (Dark Green) ( Show dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Initialization
Events
Map initialization
Conditions
Actions
Player - Make Player 6 (Orange) treat Player 12 (Brown) as an Enemy
Player - Make Player 12 (Brown) treat Player 6 (Orange) as an Enemy
Melee Game - Use melee time of day (for all players)
Player Group - Pick every player in (All allies of Player 6 (Orange).) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across middle <gen>)
Player Group - Pick every player in (All allies of Player 6 (Orange).) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across bottom <gen>)
Player Group - Pick every player in (All allies of Player 12 (Brown).) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across middle <gen>)
Player Group - Pick every player in (All allies of Player 12 (Brown).) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across top <gen>)
Player Group - Pick every player in (All players) and do (Set (Picked player).Current gold to 1000)
Player Group - Pick every player in (All players) and do (Set (Picked player).Current lumber to 1)
Player Group - Make (All allies of Player 1 (Red).) treat Player Group - Player 6 (Orange) as an Ally with shared vision
Player Group - Make Player Group - Player 6 (Orange) treat (All allies of Player 7 (Green).) as an Enemy
Player Group - Make Player Group - Player 12 (Brown) treat (All allies of Player 1 (Red).) as an Enemy
Player Group - Make (All allies of Player 1 (Red).) treat Player Group - Player 12 (Brown) as an Enemy
Player Group - Make (All allies of Player 7 (Green).) treat Player Group - Player 12 (Brown) as an Ally with shared vision
Player Group - Make (All allies of Player 7 (Green).) treat Player Group - Player 6 (Orange) as an Enemy
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.