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
Illusion Strike.w3x
Variables
Initialization
init
Illusion Strike
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
Illusion_Caster
unit
Yes
Illusion_Target
unit
Yes
unit
location
No
init
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Hero - Make Player 1 (Red) Heroes gain 300.00 % experience from future kills
Illusion Strike
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Illusion Strike
Actions
Set Variable Set Illusion_Target[1] = (Target unit of ability being cast)
Set Variable Set Illusion_Caster[(Player number of (Owner of (Casting unit)))] = (Casting unit)
Unit - Create 1 . IllusionDummy for (Owner of Illusion_Caster[(Player number of (Owner of (Casting unit)))]) at ((Position of Illusion_Target[1]) offset by 300.00 towards 360.00 degrees.) facing Default building facing degrees
Unit - Make (Last created unit) face Illusion_Target[1] over 0.00 seconds
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Strike to (Last created unit)
Unit - Set level of Strike for (Last created unit) to (Level of Illusion Strike for Illusion_Caster[1])
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm . (Position of Illusion_Target[1])
Unit - Create 1 . IllusionDummy for (Owner of Illusion_Caster[(Player number of (Owner of (Casting unit)))]) at ((Position of Illusion_Target[1]) offset by 300.00 towards 315.00 degrees.) facing Default building facing degrees
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Strike to (Last created unit)
Unit - Set level of Strike for (Last created unit) to (Level of Illusion Strike for Illusion_Caster[1])
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm . (Position of Illusion_Target[1])
Unit - Create 1 . IllusionDummy for (Owner of Illusion_Caster[(Player number of (Owner of (Casting unit)))]) at ((Position of Illusion_Target[1]) offset by 300.00 towards 270.00 degrees.) facing Default building facing degrees
Unit - Make (Last created unit) face Illusion_Target[1] over 0.00 seconds
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Strike to (Last created unit)
Unit - Set level of Strike for (Last created unit) to (Level of Illusion Strike for Illusion_Caster[1])
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm . (Position of Illusion_Target[1])
Unit - Create 1 . IllusionDummy for (Owner of Illusion_Caster[(Player number of (Owner of (Casting unit)))]) at ((Position of Illusion_Target[1]) offset by 300.00 towards 225.00 degrees.) facing Default building facing degrees
Unit - Make (Last created unit) face Illusion_Target[1] over 0.00 seconds
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Strike to (Last created unit)
Unit - Set level of Strike for (Last created unit) to (Level of Illusion Strike for Illusion_Caster[1])
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm . (Position of Illusion_Target[1])
Unit - Create 1 . IllusionDummy for (Owner of Illusion_Caster[(Player number of (Owner of (Casting unit)))]) at ((Position of Illusion_Target[1]) offset by 300.00 towards 180.00 degrees.) facing Default building facing degrees
Unit - Make (Last created unit) face Illusion_Target[1] over 0.00 seconds
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Strike to (Last created unit)
Unit - Set level of Strike for (Last created unit) to (Level of Illusion Strike for Illusion_Caster[1])
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm . (Position of Illusion_Target[1])
Unit - Create 1 . IllusionDummy for (Owner of Illusion_Caster[(Player number of (Owner of (Casting unit)))]) at ((Position of Illusion_Target[1]) offset by 300.00 towards 135.00 degrees.) facing Default building facing degrees
Unit - Make (Last created unit) face Illusion_Target[1] over 0.00 seconds
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Strike to (Last created unit)
Unit - Set level of Strike for (Last created unit) to (Level of Illusion Strike for Illusion_Caster[1])
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm . (Position of Illusion_Target[1])
Unit - Create 1 . IllusionDummy for (Owner of Illusion_Caster[(Player number of (Owner of (Casting unit)))]) at ((Position of Illusion_Target[1]) offset by 300.00 towards 90.00 degrees.) facing Default building facing degrees
Unit - Make (Last created unit) face Illusion_Target[1] over 0.00 seconds
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Strike to (Last created unit)
Unit - Set level of Strike for (Last created unit) to (Level of Illusion Strike for Illusion_Caster[1])
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm . (Position of Illusion_Target[1])
Unit - Create 1 . IllusionDummy for (Owner of Illusion_Caster[(Player number of (Owner of (Casting unit)))]) at ((Position of Illusion_Target[1]) offset by 300.00 towards 45.00 degrees.) facing Default building facing degrees
Unit - Make (Last created unit) face Illusion_Target[1] over 0.00 seconds
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Strike to (Last created unit)
Unit - Set level of Strike for (Last created unit) to (Level of Illusion Strike for Illusion_Caster[1])
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm . (Position of Illusion_Target[1])
Unit - Create 1 . IllusionDummy for (Owner of Illusion_Caster[(Player number of (Owner of (Casting unit)))]) at ((Position of Illusion_Target[1]) offset by 300.00 towards 0.00 degrees.) facing Default building facing degrees
Unit - Make (Last created unit) face Illusion_Target[1] over 0.00 seconds
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Strike to (Last created unit)
Unit - Set level of Strike for (Last created unit) to (Level of Illusion Strike for Illusion_Caster[1])
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm . (Position of Illusion_Target[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.