Any reason why I can't disable scripts in the event sheet? Like how I can disable regular events.
Develop games in your browser. Powerful, performant & highly capable.
That would make sense I guess, but you can "disable" the scripts by adding // in front of the line you need disabled or use /* .... scripts .... */ for multiple lines.
I expect it just hasn't been implemented yet. Ashley would have written that code, so I don't know if there is some reasoning why it didn't make it into the first version or if he just forgot.
It's just an oversight. I've added it to the todo list.
Ashley I don't want to create a new post for this simple request, but could you also change the way Escape button works when editing scripts in event sheets?
Now, with autocomplete I often find myself pressing Esc button to close an unwanted drop-down list (as it's done in many other IDEs). And instead this exits the script editor and undoes all edits! You can add many lines of code, then press Ecs and it will all be lost in an instant.
Could you change it so that pressing Esc first time closes any drop-down lists, pressing it second time exits the script editor, but preserving all changes?
Please vote for this idea if you agree: