Background for Fallout 4
Member of the InputEnableLayer script
boolfunctionIsSprintingEnabled()Native

Description

Wiki Description

Checks to see if sprinting controls are currently enabled on this layer or not.

Documentation Comment

Returns whether sprinting is enabled on this layer


Caveats


Examples

; Is sprinting allowed by this layer?
if myLayer.IsSprintingEnabled()
  Debug.Trace("Player can sprint (assuming no one else is blocking)!")
endIf

Auto-Generated Example

bool returnedValue = myInputEnableLayer__toCallFunctionOn.IsSprintingEnabled()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.