forceFollowRoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(correct spelling)
(format)
Line 15: Line 15:




|p1= [[Object]] - vehicle: |= PARAMETER1  
|p1= vehicle: [[Object]] - vehicle |= PARAMETER1  


|p2= [[Boolean]] - state:  <br>true: Force on road<br>false: default behaviour |= PARAMETER2  
|p2= state: [[Boolean]] - true: Force on road, false: default behaviour |= PARAMETER2  




Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>car '''forceFollowRoad''' [[true]]</code> |= Example 1
|x1= <code>car [[forceFollowRoad]] [[true]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


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

Revision as of 17:27, 30 July 2017

-wrong parameter ("A3") defined!-[[:Category:Introduced with A3 version 1.64|1.64]]
Hover & click on the images for description

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

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

[[Category:Introduced with A3 version 1.64]][[ Category: A3: New Scripting Commands | FORCEFOLLOWROAD]][[ Category: A3: Scripting Commands | FORCEFOLLOWROAD]]