I also made some improvements to the ScriptMonitor menu, since I use it every time I'm working on scripts:
The script is added to 'recent' even if loading fails. This is useful when you're making new script and it fails to start for the first time - no need to retype the filename.
There's a [remove] button in the recent list, if you're no longer interested in the script - here I worked on a copy of demoscript.
Changes:
BeamClass.getPosition() -> vector3
. The existinggetVehiclePosition()
is preserved, but only as DEPRECATED alias.BeamClass.getOrientation() -> quaternion
Demo script updated to showcase the new functions.