isSprintAllowed: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
m (see also) |
||
Line 16: | Line 16: | ||
|x1= <sqf>if (not isSprintAllowed player) then { hint "no running in the corridors!" };</sqf> | |x1= <sqf>if (not isSprintAllowed player) then { hint "no running in the corridors!" };</sqf> | ||
|seealso= [[Arma 3: Stamina]] | |seealso= [[Arma 3: Stamina]] [[allowSprint]] | ||
}} | }} |
Revision as of 09:15, 24 June 2023
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:
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