ULX
Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
OnRemove effects
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: OnRemove effects (Read 1744 times)
0 Members and 1 Guest are viewing this topic.
LuaTenshi
Hero Member
Posts: 545
Karma: 47
Just your ordinary moon angel!
OnRemove effects
«
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.)
«
Last Edit: November 05, 2013, 01:22:23 PM by HeLLFox_15
»
Logged
I cry every time I see that I am not a respected member of this community.
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
Re: OnRemove effects
«
Reply #1 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?
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: OnRemove effects
«
Reply #2 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.
Logged
Experiencing God's grace one day at a time.
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
OnRemove effects