Game Development Community

How to execute an object method with call() function?

by Mirko Topalski · in General Game Discussion · 08/11/2009 (1:25 am) · 1 replies

When i use schedule() function i can pass a function name as a string. But it seams that schedule function runs a call("functionName") method (not "eval()")

I can't seems to figure out how to execute an object method this way. I can't even pass a paremeters to it? The only way i found is to run someTempFunction() that executes my object's method-function.

Is there any other way?


#1
08/11/2009 (3:51 am)
Woops, i posted this in wrong place somehow :-\

For admins: you can delete this thread.