It would be nice if the following constants were defined at compile time:
AGS_SCRIPT_NAME holds "Global" in global script, quoted module name in module script and "Room NNN" in room script.
AGS_LINE_NUMBER holds the current line number
if it would be easier for these to be static variables, then sobeit. Also, I'd love if you had some runtime access to the calling stack (pehaps in debug mode only):
String Game.Stack
AGS_SCRIPT_NAME holds "Global" in global script, quoted module name in module script and "Room NNN" in room script.
AGS_LINE_NUMBER holds the current line number
if it would be easier for these to be static variables, then sobeit. Also, I'd love if you had some runtime access to the calling stack (pehaps in debug mode only):
String Game.Stack