fog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(format)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return the current fog. |= Description
| Return the current value of the fog in range 0...1. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki> '''fog''' |= Syntax
| [[Number]] '''fog''' |= Syntax


| [[Number]] |= Return value
| [[Number]] |= Return value
Line 16: Line 16:
|x1= <code>_foglevel = [[fog]];</code>
|x1= <code>_foglevel = [[fog]];</code>


| mp = This command returns the local fog value. Each client and the server can have differing values. |= Multiplayer
| mp = This command returns the local fog value. In older games each client and the server can have differing values. In Arma 3 the value is synced across network. |= Multiplayer


| [[fogParams]], [[fogForecast]], [[setFog]], [[setFog array]], [[nextWeatherChange]] |= See also
| [[fogParams]], [[fogForecast]], [[setFog]], [[nextWeatherChange]] |= See also


}}
}}

Revision as of 15:21, 23 March 2016

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Return the current value of the fog in range 0...1.
Multiplayer:
This command returns the local fog value. In older games each client and the server can have differing values. In Arma 3 the value is synced across network.
Groups:
Uncategorised

Syntax

Syntax:
Number fog
Return Value:
Number

Examples

Example 1:
_foglevel = fog;

Additional Information

See also:
fogParamsfogForecastsetFognextWeatherChange

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

Bottom Section