enableTraffic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| TKOH
|game1= tkoh
|version1= 1.01


|1.01
|game2= arma3
|version2= 0.50


|gr1= Environment
|gr1= Environment


| Enable ambient traffic.
|descr= Enable ambient traffic. {{Feature|arma3|This command does nothing in {{arma3}}.}}


| '''enableTraffic''' enable
|s1= [[enableTraffic]] enable


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


| [[Nothing]]
|r1= [[Nothing]]


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


| [[setTrafficDensity]], [[setTrafficDistance]], [[setTrafficGap]], [[setTrafficSpeed]]
|seealso= [[setTrafficDensity]] [[setTrafficDistance]] [[setTrafficGap]] [[setTrafficSpeed]]
}}
}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 14:17, 5 May 2022

Hover & click on the images for description

Description

Description:
Enable ambient traffic.
Arma 3
This command does nothing in Arma 3.
Groups:
Environment

Syntax

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

Examples

Example 1:
enableTraffic true;

Additional Information

See also:
setTrafficDensity setTrafficDistance setTrafficGap setTrafficSpeed

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