setTrafficGap

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Take On Helicopters version 1.01
  

Click on the images for descriptions

Introduced in

Game:
Take On Helicopters
Version:
1.01

Description

Description:
Set the average gap between ambient cars in a rectangle (in meters).

Syntax

Syntax:
setTrafficGap [gap, xMin, xMax, zMin, zMax]
Parameters:
gap: Number - average gap between ambient cars (in meters)
xMin: Number - western border of the affected rectangle
xMax: Number - eastern border of the affected rectangle
zMin: Number - southern border of the affected rectangle
zMax: Number - northern border of the affected rectangle
Return Value:
Nothing

Examples

Example 1:
setTrafficGap [50, 31000, 32500, 28000, 32000];

Additional Information

Multiplayer:
-
See also:
enableTrafficsetTrafficDensitysetTrafficDistancesetTrafficSpeed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section