• 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.

Model not disappearing after expiring

Status
Not open for further replies.
Level 2
Joined
Jan 20, 2009
Messages
11
I have a unit that model will not disappear after getting killed or expiring. The model is a Crystal, which was originally a doodad.

Can anyone tell me how to add a death animation to it?
And if there's already a post on this, please pardon me.
 
I'm pretty sure is expires, but after 88 seconds :D (since by default thats the time for unit to be cleaned up).

The crystal doodad model has no 'death' animation - thats why it still shows after being killed.
You can either use Frost Wyrm's crystal, add action RemoveUnit() or edit model by yourself allowing it to have death animation.
 
Level 2
Joined
Jan 20, 2009
Messages
11
I would use RemoveUnit(), but since the spell was intended for a spellcasting unit, multiple of them might be activated at that time, and using no variables to track which mage casted which ice wall, i can't really remove anything D:

So should i just go change default expiring to like 10 seconds in gameplay constants or something? o.0
 
Status
Not open for further replies.
Top