DCS func getFogThickness

From DCS World Wiki - Hoggitworld.com
Revision as of 04:03, 2 December 2024 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Scripting Root

Envrioment: Mission Scripting
Function: getFogThickness Added with: 2.9.10
Member Of: world.weather
Syntax: number world.weather.getFogThickness( )
Description: Returns the current fog thickness in meters. Returns zero if fog is not present.


Return Value: number
Return Example: 55
Examples:
Related Functions: World Functions: addEventHandler, removeEventHandler, getPlayer, getAirbases, searchObjects, getMarkPanels, removeJunk

world.weather getFogThickness, setFogThickness, getFogVisibilityDistance, setFogVisibilityDistance, setFogAnimation

Notes: