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
Battle For Magic ver. 1.14.w3x
Variables
Initialization
Melee Initialization
Shrine 1
Shrine 2
Shrine 3
Shrine 4
Shrine 5
Shrine 6
Shrine 7
Shrine 8
Statue 1
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
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
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 - Create starting units (for all players)
Melee Game - Enforce victory/defeat conditions (for all players)
Environment - Set sky to Fogged Sky
Environment - Set fog to style Linear , z-start 0.00 , z-end 10000.00 , density 2.00 and color ( 50.00 %, 50.00 %, 50.00 %)
Game - Set the time of day to 24.00
Shrine 1
Events
Unit - Shrine 0018 <gen> Is attacked
Conditions
(Life of (Triggering unit)) Less than or equal to 500.00
Actions
Unit - Change ownership of Shrine 0018 <gen> to (Owner of (Attacking unit)) and Change color
Unit - Set life of Shrine 0018 <gen> to 100 %
Shrine 2
Events
Unit - Shrine 0021 <gen> Is attacked
Conditions
(Life of (Triggering unit)) Less than or equal to 500.00
Actions
Unit - Change ownership of Shrine 0021 <gen> to (Owner of (Attacking unit)) and Change color
Unit - Set life of Shrine 0021 <gen> to 100 %
Shrine 3
Events
Unit - Shrine 0026 <gen> Is attacked
Conditions
(Life of (Triggering unit)) Less than or equal to 500.00
Actions
Unit - Change ownership of Shrine 0026 <gen> to (Owner of (Attacking unit)) and Change color
Unit - Set life of Shrine 0026 <gen> to 100 %
Shrine 4
Events
Unit - Shrine 0011 <gen> Is attacked
Conditions
(Life of (Triggering unit)) Less than or equal to 500.00
Actions
Unit - Change ownership of Shrine 0011 <gen> to (Owner of (Attacking unit)) and Change color
Unit - Set life of Shrine 0011 <gen> to 100 %
Shrine 5
Events
Unit - Shrine 0005 <gen> Is attacked
Conditions
(Life of (Triggering unit)) Less than or equal to 500.00
Actions
Unit - Change ownership of Shrine 0005 <gen> to (Owner of (Attacking unit)) and Change color
Unit - Set life of Shrine 0005 <gen> to 100 %
Shrine 6
Events
Unit - Shrine 0004 <gen> Is attacked
Conditions
(Life of (Triggering unit)) Less than or equal to 500.00
Actions
Unit - Change ownership of Shrine 0004 <gen> to (Owner of (Attacking unit)) and Change color
Unit - Set life of Shrine 0004 <gen> to 100 %
Shrine 7
Events
Unit - Shrine 0002 <gen> Is attacked
Conditions
(Life of (Triggering unit)) Less than or equal to 500.00
Actions
Unit - Change ownership of Shrine 0002 <gen> to (Owner of (Attacking unit)) and Change color
Unit - Set life of Shrine 0002 <gen> to 100 %
Shrine 8
Events
Unit - Shrine 0001 <gen> Is attacked
Conditions
(Life of (Triggering unit)) Less than or equal to 500.00
Actions
Unit - Change ownership of Shrine 0001 <gen> to (Owner of (Attacking unit)) and Change color
Unit - Set life of Shrine 0001 <gen> to 100 %
Statue 1
Events
Time - Elapsed game time is 0.10 seconds
Conditions
Actions
Animation - Play the stand alternate animation for all doodads of type AOks (Unexpected type: 'doodadcode') within 100000000.00 of (Center of (Playable map area)) .
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.