isSprintAllowed

From Bohemia Interactive Community
Revision as of 10:22, 24 June 2023 by R3vo (talk | contribs) (added locality)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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