forceWalk: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also format description)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Makes the unit walk, without possibility to run. Note, you still can sprint |= Description
| Forces unit to walk even if run or sprint is selected. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 18: Line 18:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>player forceWalk true</pre> |= Example 1
|x1= <code>[[player]] [[forceWalk]] [[true]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[isForcedWalk]], [[isWalking]] |= See also
| [[isForcedWalk]], [[isWalking]], [[forceSpeed]], [[getSpeed]] |= See also


}}
}}

Revision as of 21:04, 9 March 2015

Hover & click on the images for description

Description

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

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

Notes

Bottom Section