forceFollowRoad: Difference between revisions
Jump to navigation
Jump to search
m (Add Arma 3 script command category) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
|p1= vehicle: [[Object]] - vehicle |= | |p1= vehicle: [[Object]] - vehicle |PARAMETER1= | ||
|p2= state: [[Boolean]] - true: Force on road, false: default behaviour |= | |p2= state: [[Boolean]] - true: Force on road, false: default behaviour |PARAMETER2= | ||
Line 24: | Line 24: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setConvoySeparation]],[[limitSpeed]], [[setDriveOnPath]]|= | | [[setConvoySeparation]],[[limitSpeed]], [[setDriveOnPath]]|SEEALSO= | ||
}} | }} | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] |
Revision as of 10:31, 7 April 2019
Description
- Description:
- Forces the vehicle to stay on road.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle forceFollowRoad state
- Parameters:
- vehicle: Object - vehicle
- state: Boolean - true: Force on road, false: default behaviour
- Return Value:
- Nothing
Examples
- Example 1:
car forceFollowRoad true;
Additional Information
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
[[Category:Introduced with A3 version 1.64]][[ Category: A3: New Scripting Commands | FORCEFOLLOWROAD]][[ Category: A3: Scripting Commands | FORCEFOLLOWROAD]]