• 🏆 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] 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