IsRunning

From GECK
Jump to: navigation, search

Link to TES4 Construction Set Wiki: IsRunning.

A function included in the GECK for Fallout 3.

Description

Returns 1 if the actor is currently running.

Syntax

[help]
(0, 1:int) [ActorRefID].IsRunning

Example

if Player.IsRunning 

Notes:

Actors in New Vegas have two speeds, 'Walk' and 'Run'. Visually the 'Run' speed is more of a jog, and is the speed at which the player moves by default, unless the 'Toggle Walk' button is used. This function returns the speed mode which an actor is currently set to move at, regardless if they are actually currently moving or not. This function will return true on any actor that is currently set to the Running speed, even if they are standing still.

Therefore if you are trying to find if an actor is actually currently running somewhere, you should use this along with the IsMoving function.

See Also