Untitled Trigger 001
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to <costum ability>
Actions
Set temp_point[1] = (Position of (Triggering unit))
Set temp_point[2] = (temp_point[1] offset by 256.00 towards (Facing of (Triggering unit)) degrees)
Unit - Order (Triggering unit) to Orc Witch Doctor - Stasis Trap temp_point[2]
Custom script: call RemoveLocation(udg_temp_point[1])
Custom script: call RemoveLocation(udg_temp_point[2])
Untitled Trigger 001
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to your-cast-skill-here
Actions
Set temp_point[1] = (Position of (Triggering unit))
Set temp_point[2] = (temp_point[1] offset by 256.00 towards (Facing of (Triggering unit)) degrees)
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at temp_point[1] facing (Facing of (Triggering unit)) degrees
Unit - Add <skill based of statis trap>to (Last created unit)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Orc Witch Doctor - Stasis Trap temp_point[2]
Custom script: call RemoveLocation(udg_temp_point[1])
Custom script: call RemoveLocation(udg_temp_point[2])
Untitled Trigger 001
Events
Conditions
Actions
Set p[1] = (Position of (YourUnit))
Set p[2] = (p[1] offset by 100.00 towards (Facing of (Triggering unit)) degrees)
Unit - Order (YourUnit) to Orc Witch Doctor - Stasis Trap p[2]
Custom script: call RemoveLocation(udg_p[1])
Custom script: call RemoveLocation(udg_p[2])