enableTraffic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| TKOH |Game name=
| TKOH


|1.01|Game version=
|1.01


|gr1= Environment |GROUP1=
|gr1= Environment


| Enable ambient traffic. |DESCRIPTION=
| Enable ambient traffic.


| '''enableTraffic''' enable |SYNTAX=
| '''enableTraffic''' enable


|p1= enable: [[Boolean]] - enable or disable |PARAMETER1=
|p1= enable: [[Boolean]] - enable or disable


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|x1= <code>enableTraffic true;</code>
|x1= <code>enableTraffic true;</code>


| [[setTrafficDensity]], [[setTrafficDistance]], [[setTrafficGap]], [[setTrafficSpeed]] |SEEALSO=
| [[setTrafficDensity]], [[setTrafficDistance]], [[setTrafficGap]], [[setTrafficSpeed]]


}}
}}

Revision as of 00:33, 18 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

Bottom Section