Ulysses

General => Developers Corner => Topic started by: LuaTenshi on November 05, 2013, 04:33:26 AM

Title: OnRemove effects
Post by: LuaTenshi on November 05, 2013, 04:33:26 AM
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.)
Title: Re: OnRemove effects
Post by: JamminR on November 05, 2013, 02:55:23 PM
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?
Title: Re: OnRemove effects
Post by: Megiddo on November 05, 2013, 05:00:30 PM
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.