forceWalk: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
Line 16: Line 16:
| Forces unit to walk even if run or sprint is selected.
| Forces unit to walk even if run or sprint is selected.


| 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:07, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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