GetPCRunning and GetPCSneaking should check that the PC is actually moving
In OpenMW, GetPCRunning triggers whenever the PC is in run mode, even if they are standing still. This is different from vanilla, in which the check is only triggered when the player is both in run mode AND currently moving.
I ran into this issue while trying to patch Fishing Academy to be compatible with OpenMW, specifically the scripts that govern player-controlled boats and ships. Because of the above issue, player boat controls are touchy to the point of being unusable, with a single keypress causing the boat to zoom off at maximum speed, unable to be stopped or slowed down.
I am attaching my partially-patched version of the .omwaddon file for those who wish to test this in-game.
(RM-4017 from redmine: created on 2017-08-10 by Andrew Dawkins, , closed on 2017-08-16 by Andrei Kortunov, duplicates #2030 (closed))
Attachments: Fishing_Academy_OMWVer.omwaddon