Original Post
I'm hooking my console upto AS so that I can just pass the input into AS and have it do all the hard work. Most of it will just get/set system vars but allowing loops, conditions etc is also a very cool feature. But I just realised that the console will also have access to all the other functions in the game!! The createEntity() function can be called from the console, or even worse the removeEntity() function can!! Is there anyway to limit functions so that they can only be called from certain script modules or something? Security through obsucrity isn't something I want to rely on. From what I understand you add script functions to moduls which can then all see each other (and you can import from other modules if you want), but all host app functions/data types are global! I guess I could disable the console all together for release builds but i'd like to keep it open if possible, just restricted. Any ideas?