- Joined
- Jan 9, 2005
- Messages
- 2,127
Is there some way (hacky or otherwise) to set a special effect's Z positioning without having to resort to dummy units?
without having to resort to dummy units
Is there some way (hacky or otherwise) to set a special effect's Z positioning without having to resort to dummy units?
Then not possible. That's why we use dummy units for everything like missiles, particles, and all.Too much overhead.
... which is exactly what I'm doing, so prolly not going to work :/Note: Creating too many at a time can cause short lag spikes. If this occurs, you may want to switch to use invisible dummy units instead.
call AddSpecialEffectZ("model string", x, y, z)
create lag spikes if you spam it, doing call DestroyEffect(AddSpecialEffectZ("model string", x, y, z))
doesn't create a single framedrop. It's a life-saver.