setTrafficSpeed

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 ambient traffic speed in a rectangle (in kilometers per hour).

Syntax

Syntax:
setTrafficSpeed [speed, xMin, xMax, zMin, zMax]
Parameters:
speed: Number - traffic speed (in kilometers per hour)
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:
setTrafficSpeed [50, _xMin, _xMax, _zMin, _zMax];

Additional Information

Multiplayer:
-
See also:
enableTrafficsetTrafficDensitysetTrafficDistancesetTrafficGap

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