DCS func getFogVisibilityDistance
From DCS World Wiki - Hoggitworld.com
Envrioment: | Mission Scripting | ||
Function: | getFogVisibilityDistance | Added with: 2.9.10 | |
Member Of: | world.weather | ||
Syntax: | number world.weather.getFogVisibilityDistance( ) | ||
Description: | Gets the maximum visibility distance of the current fog setting.
Returns 0 if no fog is present.
| ||
Return Value: | number | ||
Return Example: | 1337 | ||
Examples: | |||
Related Functions: | World Functions: addEventHandler, removeEventHandler, getPlayer, getAirbases, searchObjects, getMarkPanels, removeJunk
world.weather getFogThickness, setFogThickness, getFogVisibilityDistance, setFogVisibilityDistance, setFogAnimation | ||
Notes: |