• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Need help with Spell Trigger Problem

Status
Not open for further replies.
Level 3
Joined
Aug 9, 2009
Messages
27
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.
 
Status
Not open for further replies.
Top