Dogfish
10-09-2008, 04:51 PM
cscript has individual callbacks for ui objects e.g.
ecCB_SceneObjectUIChange_checkbox01(...)
but e.g. if I put this function into a .DLL plugin it doesn't get called. Are individual callbacks not supported in plugins, or is there something else I need to do to get this working?
I can put a switch in ecCB_SceneObjectUIChange, but this is less elegant and makes it harder to move code from cscript to a plugin.
p.s. It would also be useful to have a cscript equivalent of lisp's (callfunction).
ecCB_SceneObjectUIChange_checkbox01(...)
but e.g. if I put this function into a .DLL plugin it doesn't get called. Are individual callbacks not supported in plugins, or is there something else I need to do to get this working?
I can put a switch in ecCB_SceneObjectUIChange, but this is less elegant and makes it harder to move code from cscript to a plugin.
p.s. It would also be useful to have a cscript equivalent of lisp's (callfunction).