I've placed the Scripts into two folders: "UpperScripts" and "GUIs". It's essential that the scripts are compiled in the order that they were organized. This is the result of the absence of function declarations in AGS. The functions maintain their proper compile order when inside a folder. Unfortunately, folders are processed before individual script files. As a result, I had to place the priority compilation scripts in the UpperScripts folder and the GUIs in their appropriate folder. The Globalscript script must always be compiled last, which is why it is not in a folder.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just did this with 2 hours ago with the Room scripts. I'll take care of it.
Last edit: Robert Kety 2014-04-29
I've placed the Scripts into two folders: "UpperScripts" and "GUIs". It's essential that the scripts are compiled in the order that they were organized. This is the result of the absence of function declarations in AGS. The functions maintain their proper compile order when inside a folder. Unfortunately, folders are processed before individual script files. As a result, I had to place the priority compilation scripts in the UpperScripts folder and the GUIs in their appropriate folder. The Globalscript script must always be compiled last, which is why it is not in a folder.
Let me know if you're happy with those changes and I'll mark this ticket as "fixed".
It was everything I have dreamed of and more. Consider the ticket done.