enableTraffic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{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]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Latest revision as of 13: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