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
SpellTemplate(Island).w3x
Variables
X-OMG-X's Template!
Description
Startup
ESC Hotkey
Commands
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
Caster
unit
No
UnitGroup
group
No
Hi, im x-omg-x.
I just made a small template map. Might be useful for people that is making systems or spells, but also people that dont want to spend time on terraining for their small map.
The template includes terrain and a few test triggers.
Enjoy, give credits if used and do not upload to other sites.
Startup
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: X-OMG-X's Island Template-------------------------------------------Press ESC for full hp/mana, reset of cooldowns and max level.Open the 'Commands' book on the hero, for a few options.-------------------------------------------
ESC Hotkey
Events
Player - Player 1 (Red) skips a cinematic sequence
Player - Player 2 (Blue) skips a cinematic sequence
Player - Player 3 (Teal) skips a cinematic sequence
Player - Player 4 (Purple) skips a cinematic sequence
Player - Player 5 (Yellow) skips a cinematic sequence
Player - Player 6 (Orange) skips a cinematic sequence
Player - Player 7 (Green) skips a cinematic sequence
Player - Player 8 (Pink) skips a cinematic sequence
Player - Player 9 (Gray) skips a cinematic sequence
Player - Player 10 (Light Blue) skips a cinematic sequence
Player - Player 11 (Dark Green) skips a cinematic sequence
Player - Player 12 (Brown) skips a cinematic sequence
Conditions
Actions
Set Variable Set UnitGroup = (Units in (Playable map area) owned by (Triggering player))
Unit Group - Pick every unit in UnitGroup and do (Actions)
Loop - Actions
Hero - Set (Picked unit) Hero-level to 10 , Show level-up graphics
Unit - Set life of (Picked unit) to 100 %
Unit - Set mana of (Picked unit) to 100 %
Unit - Reset ability cooldowns for (Picked unit) .
Custom script: call DestroyGroup(udg_UnitGroup)
Commands
Events
Unit - A unit Starts the effect of an ability
Conditions
Actions
Set Variable Set Caster = (Triggering unit)
If ((Ability being cast) Equal to Increase Level) then do (Set Caster Hero-level to ((Hero level of Caster) + 1), Show level-up graphics) else do (Do nothing)
If ((Ability being cast) Equal to Reset Life and Mana) then do (Set life of Caster to 100%) else do (Do nothing)
If ((Ability being cast) Equal to Reset Life and Mana) then do (Set mana of Caster to 100%) else do (Do nothing)
If ((Ability being cast) Equal to Reset Life and Mana) then do (Reset ability cooldowns for Caster.) else do (Do nothing)
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.