Open eevee opened 8 years ago
That's interesting. You're focusing on the map editor side of things, but the first use for this feature would be offering a built-in script decompiler/disassembler.
That... is... rather a lot harder, but feasible. And has been done before.
You might think that's ridiculous, but I'm already 60% of the way there! I don't handle loops or other jump constructs yet, but for a straightforward "do multiple things" script I can tell you exactly what specials are called with what arguments — even if the arguments are script arguments, or come from a global array. All determined statically, no evaluation required.
The goal is to be able to do all of this stuff even for maps without source code available:
OPEN
scripts (we already do this, but based on parsing ACS source)