• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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