Global mwscripts don't use the calling mwscript object by default
Example to reproduce:
- Take a script (let's say "script1") with a
startscript script2
command init - In "script2", write a object command without the "fix", eg.
GetDistance Player
, without theObject_ID->
- attach "script1" to an object, eg, an activator
When run in OpenMW, we get a "Missing implicit ref" in the log concerning the object command without the "fix" (in "script2"), because "script2" doesn't inherit of the calling mwscript object by default.
On the contrary, vanilla global mwscripts use the calling mwscript object by default: https://en.uesp.net/wiki/Morrowind_Mod:StartScript
Some mods (example: Privileges And Services) have pb with OpenMW because of this.
Tested with commit 7922f0e7.