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
Backtrack v1.1.w3x
Variables
Initialization
Readme
Init
Backtrack Setup
Backtrack
DoT Setup
DoT
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
Backtrack_Grp
group
No
DoT_Grp
group
No
Temp_Int
integer
No
To implement this system to your map, just copy the Backtrack Setup and Backtrack to your map. Copy the buff and BT Dummy to your map and adjust the [Learned Hero Skill] to your Backtrack Skill, then create an item with no model, [Actively Used] and [Automatically use when acquired] ticked and add BT Dummy to the item. Do remember to tick "Automatically create unknown variables while pasting trigger data" under File -> Preferences.
Skill MUI/MPI.
Init
Events
Map initialization
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Hero - Set (Picked unit) Hero-level to 10 , Show level-up graphics
Backtrack Setup
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Backtrack
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Backtrack for (Learning Hero)) Equal to 1
Then - Actions
Trigger - Add to Backtrack <gen> the event ((Triggering unit) Takes damage)
Else - Actions
Backtrack
Events
Conditions
Actions
Set Variable Set Temp_Int = (Random integer number between 1 and 100)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Temp_Int Less than or equal to (5 + (5 x (Level of Backtrack for (Triggering unit))))
Then - Actions
Hero - Create Backtrack and give it to (Triggering unit)
Else - Actions
DoT Setup
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to DoT
Actions
Unit Group - Add (Target unit of ability being cast) to DoT_Grp
Unit - Set the custom value of (Target unit of ability being cast) to 0
DoT
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in DoT_Grp and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Picked unit)) Less than or equal to 29
Then - Actions
Unit - Cause (Random unit from (Units in (Playable map area))) to damage (Picked unit) , dealing 20.00 damage of attack type Spells and damage type Normal
Unit - Set the custom value of (Picked unit) to ((Custom value of (Picked unit)) + 1)
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.