Hello.
Please can you explain how to import a function from a room script to global script(optionaly unsing the header).
I have read the manual and there is no explaination for this.
Thank you.
There's no explanation because it is not possible (I think).
If you want a function to be accessible in the global and room script, why don't you just move over the code to the global script and import it in the room script?
krismuc is right: the only method of using a generic room function in a global script is called "cut-and-paste". However, the CallRoomScript function cna be used to call a spepcificly named function in a room script. See the manual entry for that function for full details.
Solved using CallRoomScript function,
thank you.