forceWalk: Difference between revisions
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. |= | | Forces unit to walk even if run or sprint is selected. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit '''forceWalk''' value |= | | unit '''forceWalk''' value |SYNTAX= | ||
|p1= unit: [[Object]] - the unit forced to walk |= | |p1= unit: [[Object]] - the unit forced to walk |PARAMETER1= | ||
|p2= value: [[Boolean]] - true/false |= | |p2= value: [[Boolean]] - true/false |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[player]] [[forceWalk]] [[true]];</code> |= | |x1= <code>[[player]] [[forceWalk]] [[true]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[isForcedWalk]], [[isWalking]], [[forceSpeed]], [[getSpeed]] |= | | [[isForcedWalk]], [[isWalking]], [[forceSpeed]], [[getSpeed]] |SEEALSO= | ||
}} | }} |
Revision as of 14:39, 7 April 2019
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
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
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.51
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- ArmA 2 OA: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters