setTrafficDensity

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 density of ambient cars in a rectangle (in cars per kilometer).

Syntax

Syntax:
setTrafficDensity [density, xMin, xMax, zMin, zMax]
Parameters:
density: Number - density (in cars per kilometer)
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:
setTrafficDensity [40, 31000, 32000, 30000, 32000];

Additional Information

Multiplayer:
-
See also:
enableTrafficsetTrafficDistancesetTrafficGapsetTrafficSpeed

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