setFog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 50: Line 50:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on December 15, 2015 - 14:32 (UTC)</dd>
<dt class="note">[[User:Zapat|Zapat]]</dt>
<dd class="note">
[http://community.bistudio.com/wiki/setTimeMultiplier setTimeMultiplier] DOES affect transition time.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 16:32, 15 December 2015

Hover & click on the images for description

Description

Description:
Changes the fog smoothly over the the given TransitionTime (in seconds). A time of zero means there will be an immediate change. A fog intensity of zero is minimum fog and a fog level of one is maximum fog.
Multiplayer:
Each client and the server can have differing fog values (Pre-Arma 3).
Groups:
Uncategorised

Syntax

Syntax:
time setFog fog
Parameters:
time: Number
fog: Number
Return Value:
Nothing

Examples

Example 1:
15 setFog 0.5;

Additional Information

See also:
setFog arrayfogfogParamsfogForecastnextWeatherChange

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

Notes

Ceeeb
Only one script command induced weather change (either setOvercast or setFog) can be happening at a time. Starting a new weather change will immediately halt the current weather change. SetRain changes are independent and can occur simultaneously to a weather change.

Bottom Section

Posted on December 15, 2015 - 14:32 (UTC)
Zapat
setTimeMultiplier DOES affect transition time.