enableTraffic: Difference between revisions

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


{{Command|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.01


| TKOH |= Game name
|game2= arma3
|version2= 0.50


|1.01|= Game version
|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 |= Parameter 1
|p1= enable: [[Boolean]] - enable or disable


| [[Nothing]] |= Return value
|r1= [[Nothing]]
____________________________________________________________________________________________


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


|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>
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[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