Difference between revisions of "DCS func getFogThickness"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:dcs_funcs |fName= getFogThickness |vNum= 2.9.10 |par1= world |par2= |par3= |par4= |desc= Returns the current fog thickness in meter...")
(No difference)

Revision as of 03:54, 2 December 2024

Scripting Root

Envrioment: Mission Scripting
Function: getFogThickness Added with: 2.9.10
Member Of: world
Syntax: number world.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: