I have a function in GlobalScript.asc which goes:
Code: ags
Then I have a function in GlobalScript.ash which goes:
Code: ags
But when I try to run the game, a message box (!) comes up and tells me:
"Unable to create local script: Runtime error: unresolved import 'Unit UPG' "
I am calling UnitUPG from other rooms, but I doubt that makes a difference
How can I fix this?
Thanks
function unitUPG(String Type, bool UPGable){
Then I have a function in GlobalScript.ash which goes:
import function UnitUPG(String, bool);
But when I try to run the game, a message box (!) comes up and tells me:
"Unable to create local script: Runtime error: unresolved import 'Unit UPG' "
I am calling UnitUPG from other rooms, but I doubt that makes a difference
How can I fix this?
Thanks