enableTraffic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
Line 17: Line 17:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[setTrafficDensity]] [[setTrafficDistance]] [[setTrafficGap]] [[setTrafficSpeed]]
|seealso= [[setTrafficDensity]] [[setTrafficDistance]] [[setTrafficGap]] [[setTrafficSpeed]]
}}
}}

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