• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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