forceWalk: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 97377 by Ffur2007slx2 5 (talk))
m (template:command argument fix)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Forces unit to walk even if run or sprint is selected. |= Description
| Forces unit to walk even if run or sprint is selected. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''forceWalk''' value |= Syntax
| unit '''forceWalk''' value |SYNTAX=


|p1= unit: [[Object]] - the unit forced to walk |= Parameter 1
|p1= unit: [[Object]] - the unit forced to walk |PARAMETER1=
|p2= value: [[Boolean]] - true/false |= Parameter 2
|p2= value: [[Boolean]] - true/false |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[player]] [[forceWalk]] [[true]];</code> |= Example 1
|x1= <code>[[player]] [[forceWalk]] [[true]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 15:39, 7 April 2019

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