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

Chris Rebert clp2 at rebertia.com
Fri Jul 10 02:23:17 EDT 2009


On Thu, Jul 9, 2009 at 11:18 PM, slamdunk<s.deshe at 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 they can
> still function when called manually through other scripts functions.

Your question lacks context. What's an OnCreate callback?

Cheers,
Chris
-- 
http://blog.rebertia.com



More information about the Python-list mailing list