- Joined
- Sep 9, 2007
- Messages
- 253
The ability which triggers this is based off drain life channelled ability.
Can anyone tell me why the target unit seems to have 0 collision after this spell is cast on him. Collision is successfully turned back on for the caster but doesn't work for the target. Apart from this the spell works well.
Can anyone tell me why the target unit seems to have 0 collision after this spell is cast on him. Collision is successfully turned back on for the caster but doesn't work for the target. Apart from this the spell works well.
-
Soul Tether
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Soul Tether (quil)
-
Actions
- Wait 2.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Triggering unit) has buff Drain Life (Caster)) Equal to True
-
Then - Actions
- Set aaTempPoint = (Position of (Target unit of ability being cast))
- Set aaTempPoint2 = (Position of (Triggering unit))
- Unit - Turn collision for (Triggering unit) Off
- Unit - Turn collision for (Target unit of ability being cast) Off
- Unit - Move (Target unit of ability being cast) instantly to aaTempPoint2, facing aaTempPoint
- Unit - Move (Triggering unit) instantly to aaTempPoint, facing aaTempPoint2
- Unit - Turn collision for (Triggering unit) On
- Unit - Turn collision for (Target unit of ability being cast) On
- Special Effect - Create a special effect at aaTempPoint using Abilities\Spells\Orc\MirrorImage\MirrorImageDeathCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Special Effect - Create a special effect at aaTempPoint2 using Abilities\Spells\Orc\MirrorImage\MirrorImageDeathCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_aaTempPoint)
- Custom script: call RemoveLocation(udg_aaTempPoint2)
- Else - Actions
-
If - Conditions
-
Events