I have looked at the plugin template, and under Parameter Types it lists things like:
Number
String
CmpParam
etc.
These are for input (passed to the plugin).
How are values passed back from the plugin call to the game? Either an action, like "connect()" or an event, such as "onError()"). I think events are called conditions in the SDK.
If its possible pass data back, can a two dimensional array of numbers be passed back? If so, how, if no, is there a way to hack into arrays already defined in the project, and modify them?
There is no mention of returning data in the SDK documentation that I can find, except for expressions.
Many thanks for any help.