forceWalk: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (Parameter 2)
Line 13: Line 13:


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


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 17:14, 22 September 2010

Hover & click on the images for description

Description

Description:
Makes the unit walk, without possibility to run. Note, you still can sprint
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:
isForcedWalkisWalking

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