und34d-rul3
New Member
- Reaction score
- 12
Is there a way to stop a warden from blinking in to certain regions?
[B]Warden Postion[/B]
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Blink
Actions
Set Warden_Postion = (Position of (Casting unit))
[B]Blink Back[/B]
Events
Unit - A unit enters Region 000 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Warden
Actions
Unit - Move (Triggering unit) instantly to Warden_Postion
Stop blink
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (your_blink_ability_here)
Actions
Set Caster_Loc = (Position of (Casting unit))
If (((forbidden_region_here) contains (Target point of ability being cast)) Equal to True) then do (Unit - Move (Casting unit) instantly to Caster_Loc) else do (Do nothing)
Custom script: call RemoveLocation(udg_Caster_Loc)