Closed ohlidalp closed 1 year ago
I cherrypicked a few minor fixes which were rotting in the other unfinished branches.
Also I smuggled here one UI improvement that I really want in all dev branches: added Autoload and persistent "Recent scripts" to Console/ScriptMonitor UI - because typos happen and reloading a failed script should be easy.
Suggested on Discord: https://discord.com/channels/136544456244461568/189904947649708032/1108018422102622299 - the request was specifically for AI script. I made a solution for any script, though I focused mainly on the AI.
Angelscript API changes:
ScriptCategory
game.setAI*()
counterparts togame.getAI*()
funcs.game.pushMessage()
to handle script params correctly.Demo script updated to showcase the feature and provide useful hints: