forceWalk: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 16: Line 16:
|descr= Forces unit to walk even if run or sprint is selected.
|descr= Forces unit to walk even if run or sprint is selected.


|s1= unit '''forceWalk''' value
|s1= unit '''forceWalk''' value


|p1= unit: [[Object]] - the unit forced to walk
|p1= unit: [[Object]] - the unit forced to walk

Revision as of 23:04, 19 June 2021

Hover & click on the images for description

Description

Description:
Forces unit to walk even if run or sprint is selected.
Groups:
Stamina System

Syntax

Syntax:
unit forceWalk value
Parameters:
unit: Object - the unit forced to walk
value: Boolean - true/false
Return Value:
Nothing

Examples

Example 1:
player forceWalk true;

Additional Information

See also:
isForcedWalkisWalkingforceSpeedgetSpeed

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