Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.07

Description

Description: Returns the convoy spacing for a group of vehicles, as set by setWaypointConvoySpacing.
This is not the actual, current distance (which will vary constantly), but only the "targeted" distance.

Syntax

Syntax: waypointConvoySpacing waypoint
Parameters:
  • waypoint: Waypoint - Waypoint (of type "Convoy") for vehicle group
Return Value:Number - Desired distance (in meters), as set by setWaypointConvoySpacing (default: -1 = as close as possible)

Examples

Examples:
_dist = waypointConvoySpacing ((waypoints group car1) select 1)

Additional Information

See also: setWaypointConvoySpacing, getConvoySpacing
Multiplayer: 
Problems: 

Notes