My script throws this error during runtime:
Error: prepare_script: error -18 (no such function in script) trying to run 'globalfunction' (Room 1)
[ACI version 3.12.1115]
I've defined this global function in GlobalScript.asc, and imported it in GlobalScript.ash.
When I try to call this function from within the room script, it works fine, but when I call it as an Event from the Properties Window, it gives me the above error.
Is there any way to import global functions for use in events?
Error: prepare_script: error -18 (no such function in script) trying to run 'globalfunction' (Room 1)
[ACI version 3.12.1115]
I've defined this global function in GlobalScript.asc, and imported it in GlobalScript.ash.
When I try to call this function from within the room script, it works fine, but when I call it as an Event from the Properties Window, it gives me the above error.
Is there any way to import global functions for use in events?