isSprintAllowed

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns true if player is allowed to sprint
Groups:
Stamina System

Syntax

Syntax:
isSprintAllowed unit
Parameters:
unit: Object
Return Value:
Boolean

Examples

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

Additional Information

See also:
Arma 3: Stamina allowSprint

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note