allowSprint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "Bool" to "Boolean")
Line 6: Line 6:
| unit '''allowSprint''' state |SYNTAX=
| unit '''allowSprint''' state |SYNTAX=
|p1= unit: [[Object]] |PARAMETER1=  
|p1= unit: [[Object]] |PARAMETER1=  
|p2= state: [[Bool]] |PARAMETER2=
|p2= state: [[Boolean]] |PARAMETER2=
| Nothing |RETURNVALUE=  
| Nothing |RETURNVALUE=  
|x1= <code>[[player]] '''allowSprint''' [[false]]
|x1= <code>[[player]] '''allowSprint''' [[false]]

Revision as of 00:29, 24 August 2020


Hover & click on the images for description

Description

Description:
Force player to run/jog if set to false.
Groups:
Uncategorised

Syntax

Syntax:
unit allowSprint state
Parameters:
unit: Object
state: Boolean
Return Value:
Nothing

Examples

Example 1:
player allowSprint false

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

Bottom Section

Notes

Bottom Section