Hey all,
I'm starting to learn about the scripting system and I have a couple of questions. The most important being the title of this thread:
#1 - I know I can call a function defined in the scripting world from the event editor. But is it possible to do the reverse? i.e. call a function defined in the Event Editor from the scripting world?
#2 - Are global game objects available in the scripting world? For example, I don't seem to be able to call Touch.X - which normally works in expressions in the event editor.
#3 - Lastly. I figured out how to pass a local variable from the event editor to the scripting world. i.e. "localVars.foo" – However is there a way to pass global variables? This is similar to #2 honestly.
Thanks!