way for a function to understand whether it's being run through a OnCreate callback or not

2009-07-10 Thread slamdunk
is there a way for a function to understand whether it's being run through a OnCreate callback or not? I have working functions that I want to recycle through the OnCreate but need to catch the nuke.thisNode() bit inside them so they can still function when called manually through other scripts

Re: way for a function to understand whether it's being run through a OnCreate callback or not

2009-07-10 Thread Chris Rebert
On Thu, Jul 9, 2009 at 11:18 PM, slamdunks.de...@gmail.com wrote: is there a way for a function to understand whether it's being run through a OnCreate callback or not? I have working functions that I want to recycle through the OnCreate but need to catch the nuke.thisNode() bit inside them so

Re: way for a function to understand whether it's being run through a OnCreate callback or not

2009-07-10 Thread Gary Herron
slamdunk wrote: is there a way for a function to understand whether it's being run through a OnCreate callback or not? I have working functions that I want to recycle through the OnCreate but need to catch the nuke.thisNode() bit inside them so they can still function when called manually

Re: way for a function to understand whether it's being run through a OnCreate callback or not

2009-07-10 Thread Martin Vilcans
On Fri, Jul 10, 2009 at 8:18 AM, slamdunks.de...@gmail.com wrote: is there a way for a function to understand whether it's being run through a OnCreate callback or not? I have working functions that I want to recycle through the OnCreate but need to catch the nuke.thisNode() bit inside them so