• 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] Question about Special effects(attatchments)

Status
Not open for further replies.
Level 6
Joined
May 31, 2008
Messages
218
I have a question about attatchemnt and how to make them not leak. If you create a special effect, that is a imported armor model, and then attach it to the chest of a unit once that unit is created. You gotta remove the effect aswell when the unit dies. The problem is that the unit that have the attatchments are a unit that you might produce quite many of, so i wonder if you need to store the effect into a variable that get's increased for each new unit, and then when that unit dies the special effect is removed. But i don't know how to do this as i never have really used special effects.
 
Status
Not open for further replies.
Top