IsSprinting - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

Checks to see if this actor is currently sprinting.

Syntax

bool Function IsSprinting() native

Parameters

None.

Return Value

Whether this actor is sprinting.

Examples

if Game.GetPlayer().IsSprinting()
  Debug.Trace("Careful, you might trip and hurt yourself!")
endIf

See Also