Hi!
There are some times units in my map that spawn for 12 seconds and then explode. I'd like to add a buff special effect to them (Environment\LargeBuildingFire\LargeBuildingFire1.mdl) and was wondering what's the best way to do so?
When I just add the effect to them every time they spawn then the trigger would leak, so I need to destroy it. When I destroy the effect right after its creation, then it only lasts for a second and not until the unit is dead. When I put a wait between the creation and destruction of the effect, then it gets messed up with other special effect triggers.
What's the best way to solve this problem?
Regards,
McLovin
There are some times units in my map that spawn for 12 seconds and then explode. I'd like to add a buff special effect to them (Environment\LargeBuildingFire\LargeBuildingFire1.mdl) and was wondering what's the best way to do so?
When I just add the effect to them every time they spawn then the trigger would leak, so I need to destroy it. When I destroy the effect right after its creation, then it only lasts for a second and not until the unit is dead. When I put a wait between the creation and destruction of the effect, then it gets messed up with other special effect triggers.
What's the best way to solve this problem?
Regards,
McLovin