IsRunning
Revision as of 02:50, 31 July 2010 by imported>SpookyFX
Returns 1 if the actor is currently running. If called on the player, this function returns 1 if 'always run' (not auto-run, which is the Q key) is toggled, regardless of whether the player is actually moving.
Note: There is an obscure bug when an NPC is disabled and enabled in the same frame. This is sometimes done by companion mods. The frame after this happens IsRunning on the NPC will CTD. Workaround: place your IsRunning check under OBSE ismoving checks(forward, backward, left and right).
See Also