So the problem is that if the targeted unit dies from the spell their skeleton remains floating in the air. Is there anyway to fix this??
Here's the trigger (WhitePheonix came up with it)
Choke Continous
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Life Drain
Actions
Unit - Make (Triggering unit) Invulnerable
Unit - Add Crow Form to (Target unit of ability being cast)
Unit - Pause (Target unit of ability being cast)
Unit - Remove Crow Form from (Target unit of ability being cast)
Animation - Change (Target unit of ability being cast) flying height to 150.00 at 50.00
Wait 7.50 seconds
Animation - Change (Target unit of ability being cast) flying height to 0.00 at 500.00
Unit - Unpause (Target unit of ability being cast)
Unit - Make (Triggering unit) Vulnerable
Choke Abrupt
Events
Unit - A unit Stops casting an ability
Conditions
(Ability being cast) Equal to Life Drain
Actions
Trigger - Turn off Choke Continous <gen>
Animation - Change (Target unit of ability being cast) flying height to 0.00 at 500.00
Unit - Unpause (Target unit of ability being cast)
Unit - Make (Triggering unit) Vulnerable
Trigger - Turn on Choke Continous <gen>
Unit - Unpause (Target unit of ability being cast)
If you care this is a Force Choke spell for Darth Vader in the Hero Arena I'm working on.
Here's the trigger (WhitePheonix came up with it)
Choke Continous
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Life Drain
Actions
Unit - Make (Triggering unit) Invulnerable
Unit - Add Crow Form to (Target unit of ability being cast)
Unit - Pause (Target unit of ability being cast)
Unit - Remove Crow Form from (Target unit of ability being cast)
Animation - Change (Target unit of ability being cast) flying height to 150.00 at 50.00
Wait 7.50 seconds
Animation - Change (Target unit of ability being cast) flying height to 0.00 at 500.00
Unit - Unpause (Target unit of ability being cast)
Unit - Make (Triggering unit) Vulnerable
Choke Abrupt
Events
Unit - A unit Stops casting an ability
Conditions
(Ability being cast) Equal to Life Drain
Actions
Trigger - Turn off Choke Continous <gen>
Animation - Change (Target unit of ability being cast) flying height to 0.00 at 500.00
Unit - Unpause (Target unit of ability being cast)
Unit - Make (Triggering unit) Vulnerable
Trigger - Turn on Choke Continous <gen>
Unit - Unpause (Target unit of ability being cast)
If you care this is a Force Choke spell for Darth Vader in the Hero Arena I'm working on.