Master85
The distance is not to the drawn traffic itself but to the road section - i.e. the ambient traffic on a long road section which is only partially within the drawing distance is drawn entirely.
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
Set maximum ambient traffic draw distance (in 2D).
Note
This command does nothing in Arma 3.
setTrafficDistance distance
Parameters:
distance: Number - draw distance (in meter)Returns: Nothing
setTrafficDistance 1000;
enableTraffic · setTrafficDensity · setTrafficGap · setTrafficSpeed
The distance is not to the drawn traffic itself but to the road section - i.e. the ambient traffic on a long road section which is only partially within the drawing distance is drawn entirely.