enableTraffic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \[\[Category:Take[ _]On[ _]Helicopters:[ _]New[ _]Scripting[ _]Commands[ _]List(\|[^]]+)?\]\]" to "")
m (Text replacement - " {2,}\}\}" to " }}")
Line 18: Line 18:


| [[setTrafficDensity]], [[setTrafficDistance]], [[setTrafficGap]], [[setTrafficSpeed]]
| [[setTrafficDensity]], [[setTrafficDistance]], [[setTrafficGap]], [[setTrafficSpeed]]
}}
}}


{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 00:49, 19 January 2021

Hover & click on the images for description

Description

Description:
Enable ambient traffic.
Groups:
Environment

Syntax

Syntax:
enableTraffic enable
Parameters:
enable: Boolean - enable or disable
Return Value:
Nothing

Examples

Example 1:
enableTraffic true;

Additional Information

See also:
setTrafficDensitysetTrafficDistancesetTrafficGapsetTrafficSpeed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note