General > Developers Corner
OnRemove effects
(1/1)
LuaTenshi:
How would I apply an effect to a prop that is being removed? For example the combine ball dissolve effect. (When a combine ball disintegrates some thing.)
JamminR:
Total guess here - Grab the current prop's coords using the onremove, pass an effect function the coords, return from onremove, have function perform effect at the coords?
Megiddo:
You have to find the name of the effect, which I don't remember off hand. It's a pretty straight forward function past that, though.
Navigation
[0] Message Index
Go to full version