enableTraffic: Difference between revisions

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


| TKOH |Game name=
|game1= tkoh
|version1= 1.01


|1.01|Game version=
|game2= arma3
|version2= 0.50


|gr1= Environment |GROUP1=
|gr1= Environment


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


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


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


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


|x1= <code>enableTraffic true;</code> |=
|x1= <sqf>enableTraffic true;</sqf>
 
| [[setTrafficDensity]], [[setTrafficDistance]], [[setTrafficGap]], [[setTrafficSpeed]] |SEEALSO=


|seealso= [[setTrafficDensity]] [[setTrafficDistance]] [[setTrafficGap]] [[setTrafficSpeed]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<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