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
Real life.w3x
Variables
Initialization
Dies
INITSPELL
Attk
HOOKinit
Pull
HOOK2s
PullInit
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
Point
location
No
Target
unit
No
Dies
Events
Unit - A unit Dies
Conditions
Actions
Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
Wait 1.00 seconds
Special Effect - Destroy (Last created special effect)
Unit - Create 1 . Soul for (Owner of (Dying unit)) at (Position of (Dying unit)) facing (Facing of (Dying unit)) degrees
INITSPELL
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Take Body
Actions
Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
Wait 1.00 seconds
Special Effect - Destroy (Last created special effect)
Unit - Remove (Casting unit) from the game
Attk
Events
Unit - A unit Is attacked
Conditions
Actions
Unit - Move (Attacked unit) instantly to ((Position of (Attacked unit)) offset by -16.00 towards (Facing of (Attacking unit)) degrees.)
HOOKinit
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Hook
Actions
Set Variable Set Caster = (Casting unit)
Set Variable Set Point = (Position of (Target unit of ability being cast))
Set Variable Set Target = (Target unit of ability being cast)
Trigger - Turn on HOOK2s <gen>
Wait 1.00 seconds
Trigger - Turn off HOOK2s <gen>
Pull
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Pull
Actions
Set Variable Set Caster = (Casting unit)
Set Variable Set Point = (Position of (Target unit of ability being cast))
Set Variable Set Target = (Target unit of ability being cast)
Trigger - Turn on HOOK2s <gen>
Wait 1.00 seconds
Trigger - Turn off HOOK2s <gen>
HOOK2s
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Unit - Turn collision for Target Off .
Unit - Move Target instantly to ((Position of Target) offset by 32.00 towards (Facing of Caster) degrees.)
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of Target using Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
Special Effect - Destroy (Last created special effect)
PullInit
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Unit - Turn collision for Target Off .
Unit - Move Target instantly to ((Position of Target) offset by 32.00 towards (Facing of Caster) degrees.)
Special Effect - Create a special effect attached to the chest (Unexpected type: 'attachpoint') of Target using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Special Effect - Destroy (Last created special effect)
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.