Arma 3 Scripting

Command in Stamina System

isSprintAllowed

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns true if player is allowed to sprint

Syntax

isSprintAllowed unit

Parameters:

Returns: Boolean

Examples

Example 1

if (not isSprintAllowed player) then { hint "no running in the corridors!" };

See also

Arma 3: Stamina · allowSprint