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
Legendary heroes Chaos vers~1.w3m
Variables
Credits
Author
Initialization
Initialization
Initialization for all players
Create buildings
Untitled Trigger 001
Victory Defeat
Defeat
Player Quits
Defeat Quitting Player
Victory
Revive Heroes
Revive Hero
Rewards for Kills
Create Money and Tome for Kill
Tome 1 Health
Tome 2 Agility
Tome 3 Intelligence
Tome 4 Strength
Altar Rally Points
Train Heroes
Train Heroes
Root Trees of Eternity
Root Trees of Eternity 1
Root Trees of Eternity 2
Mannoroth Grows
Mannoroth Grows
Name
Type
is_array
initial_value
Altar
unit
Yes
AltarRallyPoint
location
Yes
isPlaying
boolean
Yes
tempBoolean
boolean
No
false
tempRandom
integer
No
tempSize
real
No
tempString
string
No
TomeHero
unit
No
This map is made by Liquid (BNet: LiquidFear, [email protected], www.liquidinfinity.dyndns.org/war3). More maps @ www.liquidinfinity.dyndns.org/war3/maps.
This map is made from scratch. If you would like to edit this map, please email me with your ideas, and if your idea is good I will let you edit it. You must of course give me full credit for the original map. Do not edit this note, you may add another if you want to write a note as well. Please do not edit this map without my permission.
Any part of the code from this map may NOT be used in any maps or projects.
Enjoy the map.
- Liquid
This is map version 1.0.
Author
Events
Conditions
Actions
Initialization
Events
Map initialization
Conditions
Actions
Game - Turn the day/night cycle Off
Game - Set the time of day to 12
Visibility - Disable fog of war
Visibility - Disable black mask
For each (Integer A) from 1 to 12 , do (Run Initialization_for_all_players <gen> (checking conditions))
Melee Game - Run melee AI scripts (for computer players)
Initialization for all players
Events
Conditions
Actions
If (((Player((Integer A))) slot status) Equal to Is playing) then do (Set VariableSet isPlaying[(Integer A)] = "true") else do (Set VariableSet isPlaying[(Integer A)] = "false")
If (isPlaying[(Integer A)] Equal to True) then do (Run Create_buildings <gen> (checking conditions)) else do (Do nothing)
Player - Set (Player((Integer A))) . Available free Heroes to 0
Player - Set (Player((Integer A))) . Food cap to 10
Player - Set (Player((Integer A))) . Current gold to 50
Player - Set (Player((Integer A))) . Current lumber to 100
Set Variable Set AltarRallyPoint[(Integer A)] = (Position of Altar[(Integer A)])
Create buildings
Events
Conditions
Actions
Unit - Create 1 . Altar of Kings for (Player((Integer A))) at ((Player((Integer A))) start location) facing Default building facing degrees
Set Variable Set Altar[(Integer A)] = (Last created unit)
Unit - Create 1 . Castle for (Player((Integer A))) at (((Player((Integer A))) start location) offset by (-640.00, 640.00)) facing Default building facing degrees
Unit - Create 1 . Fortress for (Player((Integer A))) at (((Player((Integer A))) start location) offset by (640.00, 640.00)) facing Default building facing degrees
Unit - Create 1 . Black Citadel for (Player((Integer A))) at (((Player((Integer A))) start location) offset by (-640.00, -640.00)) facing Default building facing degrees
Unit - Create 1 . Tree of Eternity for (Player((Integer A))) at (((Player((Integer A))) start location) offset by (640.00, -640.00)) facing Default building facing degrees
Unit - Create 1 . Manuals and Pages for (Player((Integer A))) at (((Player((Integer A))) start location) offset by (0.00, -512.00)) facing Default building facing degrees
Unit - Create 1 . Fountain of Health for (Player((Integer A))) at (((Player((Integer A))) start location) offset by (0.00, 512.00)) facing Default building facing degrees
Unit - Create 1 . Fountain of Mana for (Player((Integer A))) at (((Player((Integer A))) start location) offset by (-512.00, 0.00)) facing Default building facing degrees
Unit - Create 1 . Gems are us! for (Player((Integer A))) at (((Player((Integer A))) start location) offset by (512.00, 0.00)) facing Default building facing degrees
Untitled Trigger 001
Events
Player - Player 1 (Red) types a chat message containing nokia (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Player - Add 1000000000 to Player 1 (Red) . Current gold
Defeat
Events
Unit - A unit owned by Player 1 (Red) . Dies
Unit - A unit owned by Player 2 (Blue) . Dies
Unit - A unit owned by Player 3 (Teal) . Dies
Unit - A unit owned by Player 4 (Purple) . Dies
Unit - A unit owned by Player 5 (Yellow) . Dies
Unit - A unit owned by Player 6 (Orange) . Dies
Unit - A unit owned by Player 7 (Green) . Dies
Unit - A unit owned by Player 8 (Pink) . Dies
Unit - A unit owned by Player 9 (Gray) . Dies
Unit - A unit owned by Player 10 (Light Blue) . Dies
Unit - A unit owned by Player 11 (Dark Green) . Dies
Unit - A unit owned by Player 12 (Brown) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Altar of Kings
isPlaying[(Player number of (Owner of (Triggering unit)))] Equal to True
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Explode (Picked unit).)
Game - Defeat (Owner of (Triggering unit)) with the message: You have been defeated!
Game - Display to (All players) the text: ((Name of (Owner of (Triggering unit))) + has been defeated! )
Player - Add 10 to (Owner of (Killing unit)) . Current gold
Set Variable Set isPlaying[(Player number of (Owner of (Triggering unit)))] = "false"
Trigger - Run Victory <gen> (checking conditions)
Player Quits
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 12 , do (Run Defeat_Quitting_Player <gen> (checking conditions))
Defeat Quitting Player
Events
Conditions
((Player((Integer A))) slot status) Not equal to Is playing
isPlaying[(Integer A)] Equal to True
Actions
Unit Group - Pick every unit in (Units owned by (Player((Integer A))).) and do (Explode (Picked unit).)
Game - Defeat (Player((Integer A))) with the message: You have been defeated!
Set Variable Set isPlaying[(Integer A)] = "false"
Trigger - Run Victory <gen> (checking conditions)
Victory
Events
Player - Player 1 (Red) changes alliance settings
Player - Player 2 (Blue) changes alliance settings
Player - Player 3 (Teal) changes alliance settings
Player - Player 4 (Purple) changes alliance settings
Player - Player 5 (Yellow) changes alliance settings
Player - Player 6 (Orange) changes alliance settings
Player - Player 7 (Green) changes alliance settings
Player - Player 8 (Pink) changes alliance settings
Player - Player 9 (Gray) changes alliance settings
Player - Player 10 (Light Blue) changes alliance settings
Player - Player 11 (Dark Green) changes alliance settings
Player - Player 12 (Brown) changes alliance settings
Time - Elapsed game time is 5 seconds
Conditions
Actions
Set Variable Set tempBoolean = "true"
For each (Integer A) from 1 to 12 , do (If ((((Player((Integer A))) slot status) Equal to Is playing) and ((Number of players in (All allies of (Player((Integer A))).)) Less than (Number of players in (All players matching (((Matching player) slot status) Equal to Is playing).)))) then do (Set VariableSet tempBoolean = "false") else do (Do nothing))
If (tempBoolean Equal to True) then do (For each (Integer A) from 1 to 12, do (If (((Player((Integer A))) slot status) Equal to Is playing) then do (Victory (Player((Integer A))) (Show dialogs, Show scores)) else do (Do nothing))) else do (Do nothing)
Set Variable Set tempBoolean = "false"
Revive Hero
Events
Unit - A unit owned by Player 1 (Red) . Becomes revivable
Unit - A unit owned by Player 2 (Blue) . Becomes revivable
Unit - A unit owned by Player 3 (Teal) . Becomes revivable
Unit - A unit owned by Player 4 (Purple) . Becomes revivable
Unit - A unit owned by Player 5 (Yellow) . Becomes revivable
Unit - A unit owned by Player 6 (Orange) . Becomes revivable
Unit - A unit owned by Player 7 (Green) . Becomes revivable
Unit - A unit owned by Player 8 (Pink) . Becomes revivable
Unit - A unit owned by Player 9 (Gray) . Becomes revivable
Unit - A unit owned by Player 10 (Light Blue) . Becomes revivable
Unit - A unit owned by Player 11 (Dark Green) . Becomes revivable
Unit - A unit owned by Player 12 (Brown) . Becomes revivable
Conditions
isPlaying[(Player number of (Owner of (Revivable Hero)))] Equal to True
Actions
Hero - Instantly revive (Revivable Hero) at (Position of Altar[(Player number of (Owner of (Revivable Hero)))]) , Show revival graphics
Unit - Order (Revivable Hero) to Attack-Move To . (AltarRallyPoint[(Player number of (Owner of (Revivable Hero)))] offset by (0, 0))
Unit - Set life of (Triggering unit) to 90.00 %
Unit - Set mana of (Triggering unit) to 90.00 %
Rewards for Kills
Events
Unit - A unit owned by Player 1 (Red) . Dies
Unit - A unit owned by Player 2 (Blue) . Dies
Unit - A unit owned by Player 3 (Teal) . Dies
Unit - A unit owned by Player 4 (Purple) . Dies
Unit - A unit owned by Player 5 (Yellow) . Dies
Unit - A unit owned by Player 6 (Orange) . Dies
Unit - A unit owned by Player 7 (Green) . Dies
Unit - A unit owned by Player 8 (Pink) . Dies
Unit - A unit owned by Player 9 (Gray) . Dies
Unit - A unit owned by Player 10 (Light Blue) . Dies
Unit - A unit owned by Player 11 (Dark Green) . Dies
Unit - A unit owned by Player 12 (Brown) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
((Owner of (Triggering unit)) is an ally of (Owner of (Killing unit)).) Equal to False
(Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
Actions
Trigger - Run Create_Money_and_Tome_for_Kill <gen> (checking conditions)
If ((Hero level of (Triggering unit)) Greater than or equal to 4) then do (Run Create_Money_and_Tome_for_Kill <gen> (checking conditions)) else do (Do nothing)
If ((Hero level of (Triggering unit)) Greater than or equal to 7) then do (Run Create_Money_and_Tome_for_Kill <gen> (checking conditions)) else do (Do nothing)
If ((Hero level of (Triggering unit)) Greater than or equal to 10) then do (Run Create_Money_and_Tome_for_Kill <gen> (checking conditions)) else do (Do nothing)
Create Money and Tome for Kill
Events
Conditions
Actions
Player - Add 1 to (Owner of (Killing unit)) . Current gold
Player - Add 1 to (Owner of (Killing unit)) . Current lumber
If (((Killing unit) is A Hero) Equal to True) then do (Set VariableSet TomeHero = (Killing unit)) else do (Set VariableSet TomeHero = (Random unit from (Units owned by (Owner of (Killing unit)) matching (((Matching unit) is A Hero) Equal to True).)))
Set Variable Set tempRandom = (Random integer number between 1 and 4)
Trigger - Run Tome_1_Health <gen> (checking conditions)
Trigger - Run Tome_2_Agility <gen> (checking conditions)
Trigger - Run Tome_3_Intelligence <gen> (checking conditions)
Trigger - Run Tome_4_Strength <gen> (checking conditions)
Tome 1 Health
Events
Conditions
tempRandom Equal to 1
Actions
Hero - Create Legendary Manual of Health and give it to TomeHero
Hero - Order TomeHero to use (Last created item)
Hero - Create Legendary Manual of Health and give it to TomeHero
Hero - Order TomeHero to use (Last created item)
Tome 2 Agility
Events
Conditions
tempRandom Equal to 2
Actions
Hero - Create Legendary Tome of Agility and give it to TomeHero
Hero - Order TomeHero to use (Last created item)
Tome 3 Intelligence
Events
Conditions
tempRandom Equal to 3
Actions
Hero - Create Legendary Tome of Intelligence and give it to TomeHero
Hero - Order TomeHero to use (Last created item)
Tome 4 Strength
Events
Conditions
tempRandom Equal to 4
Actions
Hero - Create Legendary Tome of Strength and give it to TomeHero
Hero - Order TomeHero to use (Last created item)
Altar Rally Points
Events
Unit - A unit owned by Player 1 (Red) . Is issued an order targeting a point
Unit - A unit owned by Player 2 (Blue) . Is issued an order targeting a point
Unit - A unit owned by Player 3 (Teal) . Is issued an order targeting a point
Unit - A unit owned by Player 4 (Purple) . Is issued an order targeting a point
Unit - A unit owned by Player 5 (Yellow) . Is issued an order targeting a point
Unit - A unit owned by Player 6 (Orange) . Is issued an order targeting a point
Unit - A unit owned by Player 7 (Green) . Is issued an order targeting a point
Unit - A unit owned by Player 8 (Pink) . Is issued an order targeting a point
Unit - A unit owned by Player 9 (Gray) . Is issued an order targeting a point
Unit - A unit owned by Player 10 (Light Blue) . Is issued an order targeting a point
Unit - A unit owned by Player 11 (Dark Green) . Is issued an order targeting a point
Unit - A unit owned by Player 12 (Brown) . Is issued an order targeting a point
Conditions
(Unit-type of (Ordered unit)) Equal to Altar of Kings
((Issued order) Equal to (Order(setrally))) or ((Issued order) Equal to (Order(smart)))
Actions
Set Variable Set AltarRallyPoint[(Player number of (Owner of (Ordered unit)))] = (Target point of issued order)
Train Heroes
Events
Unit - A unit enters (Playable map area)
Conditions
Actions
If ((Unit-type of (Triggering unit)) Equal to Paladin (non-hero trained unit)) then do (Replace (Triggering unit) with a Paladin using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Archmage (non-hero trained unit)) then do (Replace (Triggering unit) with a Archmage using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Mountain King (non-hero trained unit)) then do (Replace (Triggering unit) with a Mountain King using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Guardian (non-hero trained unit)) then do (Replace (Triggering unit) with a Guardian using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Sorceress (non-hero trained unit)) then do (Replace (Triggering unit) with a Sorceress using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Ranger (non-hero trained unit)) then do (Replace (Triggering unit) with a Ranger using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Blademaster (non-hero trained unit)) then do (Replace (Triggering unit) with a Blademaster using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Far Seer (non-hero trained unit)) then do (Replace (Triggering unit) with a Far Seer using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Tauren Chieftain (non-hero trained unit)) then do (Replace (Triggering unit) with a Tauren Chieftain using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Ogre Warrior (non-hero trained unit)) then do (Replace (Triggering unit) with a Ogre Warrior using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Orc Warlock (non-hero trained unit)) then do (Replace (Triggering unit) with a Orc Warlock using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Death Knight (non-hero trained unit)) then do (Replace (Triggering unit) with a Death Knight using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Lich (non-hero trained unit)) then do (Replace (Triggering unit) with a Lich using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Dreadlord (non-hero trained unit)) then do (Replace (Triggering unit) with a Dreadlord using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Warlock (non-hero trained unit)) then do (Replace (Triggering unit) with a Warlock using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Pit Lord (non-hero trained unit)) then do (Replace (Triggering unit) with a Pit Lord using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Keeper of the Grove (non-hero trained unit)) then do (Replace (Triggering unit) with a Keeper of the Grove using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Priestess of the Moon (non-hero trained unit)) then do (Replace (Triggering unit) with a Priestess of the Moon using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Demon Hunter (non-hero trained unit)) then do (Replace (Triggering unit) with a Demon Hunter (Available Hero) using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Doom Guard (non-hero trained unit)) then do (Replace (Triggering unit) with a Demon using The new unit's max life and mana) else do (Do nothing)
If ((Unit-type of (Triggering unit)) Equal to Infernal (non-hero trained unit)) then do (Replace (Triggering unit) with a Demon using The new unit's max life and mana) else do (Do nothing)
Root Trees of Eternity 1
Events
Unit - A unit owned by Player 1 (Red) . Is issued an order with no target
Unit - A unit owned by Player 2 (Blue) . Is issued an order with no target
Unit - A unit owned by Player 3 (Teal) . Is issued an order with no target
Unit - A unit owned by Player 4 (Purple) . Is issued an order with no target
Unit - A unit owned by Player 5 (Yellow) . Is issued an order with no target
Unit - A unit owned by Player 6 (Orange) . Is issued an order with no target
Unit - A unit owned by Player 7 (Green) . Is issued an order with no target
Unit - A unit owned by Player 8 (Pink) . Is issued an order with no target
Unit - A unit owned by Player 9 (Gray) . Is issued an order with no target
Unit - A unit owned by Player 10 (Light Blue) . Is issued an order with no target
Unit - A unit owned by Player 11 (Dark Green) . Is issued an order with no target
Unit - A unit owned by Player 12 (Brown) . Is issued an order with no target
Conditions
(Unit-type of (Ordered unit)) Equal to Tree of Eternity
(Issued order) Equal to (Order(unroot))
Actions
Wait 3.00 seconds
Unit - Order (Ordered unit) to Night Elf Ancients - Root . (Position of (Ordered unit))
Root Trees of Eternity 2
Events
Unit - A unit owned by Player 1 (Red) . Is issued an order targeting a point
Unit - A unit owned by Player 2 (Blue) . Is issued an order targeting a point
Unit - A unit owned by Player 3 (Teal) . Is issued an order targeting a point
Unit - A unit owned by Player 4 (Purple) . Is issued an order targeting a point
Unit - A unit owned by Player 5 (Yellow) . Is issued an order targeting a point
Unit - A unit owned by Player 6 (Orange) . Is issued an order targeting a point
Unit - A unit owned by Player 7 (Green) . Is issued an order targeting a point
Unit - A unit owned by Player 8 (Pink) . Is issued an order targeting a point
Unit - A unit owned by Player 9 (Gray) . Is issued an order targeting a point
Unit - A unit owned by Player 10 (Light Blue) . Is issued an order targeting a point
Unit - A unit owned by Player 11 (Dark Green) . Is issued an order targeting a point
Unit - A unit owned by Player 12 (Brown) . Is issued an order targeting a point
Unit - A unit owned by Player 1 (Red) . Is issued an order targeting an object
Unit - A unit owned by Player 2 (Blue) . Is issued an order targeting an object
Unit - A unit owned by Player 3 (Teal) . Is issued an order targeting an object
Unit - A unit owned by Player 4 (Purple) . Is issued an order targeting an object
Unit - A unit owned by Player 5 (Yellow) . Is issued an order targeting an object
Unit - A unit owned by Player 6 (Orange) . Is issued an order targeting an object
Unit - A unit owned by Player 7 (Green) . Is issued an order targeting an object
Unit - A unit owned by Player 8 (Pink) . Is issued an order targeting an object
Unit - A unit owned by Player 9 (Gray) . Is issued an order targeting an object
Unit - A unit owned by Player 10 (Light Blue) . Is issued an order targeting an object
Unit - A unit owned by Player 11 (Dark Green) . Is issued an order targeting an object
Unit - A unit owned by Player 12 (Brown) . Is issued an order targeting an object
Conditions
Equal to Tree of Eternity
(Issued order) Not equal to (Order(root))
Actions
Unit - Order (Ordered unit) to Night Elf Ancients - Root . (Position of (Ordered unit))
Mannoroth Grows
Events
Unit - A unit owned by Player 1 (Red) . Gains a level
Unit - A unit owned by Player 2 (Blue) . Gains a level
Unit - A unit owned by Player 3 (Teal) . Gains a level
Unit - A unit owned by Player 4 (Purple) . Gains a level
Unit - A unit owned by Player 5 (Yellow) . Gains a level
Unit - A unit owned by Player 6 (Orange) . Gains a level
Unit - A unit owned by Player 7 (Green) . Gains a level
Unit - A unit owned by Player 8 (Pink) . Gains a level
Unit - A unit owned by Player 9 (Gray) . Gains a level
Unit - A unit owned by Player 10 (Light Blue) . Gains a level
Unit - A unit owned by Player 11 (Dark Green) . Gains a level
Unit - A unit owned by Player 12 (Brown) . Gains a level
Conditions
Equal to Pit Lord
Actions
Set Variable Set tempSize = (100.00 + (60.00 x (((Real((Hero level of (Leveling Hero)))) - 1) / 9.00)))
Set Variable Set tempSize = (tempSize x 1.27)
Animation - Change (Leveling Hero) 's size to ( tempSize %, tempSize %, tempSize %) of its original size
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.