isSprintAllowed: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.54 | |version1= 1.54 | ||
Line 6: | Line 7: | ||
|descr= Returns true if player is allowed to sprint | |descr= Returns true if player is allowed to sprint | ||
|s1= [[isSprintAllowed]] unit | |s1= [[isSprintAllowed]] unit | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= <sqf> | |x1= <sqf>if (not isSprintAllowed player) then { hint "no running in the corridors!" };</sqf> | ||
|seealso= [[Arma 3: Stamina]] | |seealso= [[Arma 3: Stamina]] | ||
}} | }} |
Revision as of 13:49, 22 May 2022
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
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