forceFollowRoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 19: Line 19:
|x1= <code>car [[forceFollowRoad]] [[true]];</code>
|x1= <code>car [[forceFollowRoad]] [[true]];</code>


| [[setConvoySeparation]],[[limitSpeed]], [[setDriveOnPath]]
|seealso= [[setConvoySeparation]],[[limitSpeed]], [[setDriveOnPath]]
}}
}}


{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 23:41, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Control

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object - vehicle
state: Boolean - true: Force on road, false: default behaviour
Return Value:
Return value needed

Examples

Example 1:
car forceFollowRoad true;

Additional Information

See also:
setConvoySeparationlimitSpeedsetDriveOnPath

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