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

Destroy Effect

Status
Not open for further replies.
Level 10
Joined
May 28, 2011
Messages
455
I'm not sure about this.

Let say i have Abilities\Spells\Other\Silence\SilenceAreaBirth.mdl effect created.

Do i need to destroy it. Cause destroying it will cause the effect not to appear. Hmm??? i guess i dont need to. :\
 
Last edited:
Level 14
Joined
Nov 18, 2007
Messages
1,084
There's a vJass library called TimedHandles which allows for destroying the special effects after a certain time, which would allow you to show that special effect's animation before destroying it.

Another way that I wouldn't really recommend is using dummy units that have the special effect as their model and using UnitApplyTimedLife to kill them later.
 
Status
Not open for further replies.
Top