I discovered an issue with EditModeAtPlr.cmd.
It is working by coincidence, because if the last line of a ".cmd" file does not end in a newline, it does not get executed.
Released version (1.14 Beta4) works:
Code:
set editorcam_from_game\r\nedit_mode\r\nunset editorcam_from_game
In the released version, editorcam_from_game stays set because the unset line is never called. This can be checked with ifdef editorcam_from_game mprint is_set and ifndef editorcam_from_game mprint not_set.
Edited version is broken because of the added \r\n at end of file:
Code:
set editorcam_from_game\r\nedit_mode\r\nunset editorcam_from_game\r\n
When folks edit the file, its functionality will break if a newline is added at the end of file, acting just like EditMode.cmd instead.
Therefore, EditModeAtPlr.cmd should really just be:
Code:
set editorcam_from_game
edit_mode