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...")
 
 
Line 5: Line 5:
 
|vNum= 2.9.10
 
|vNum= 2.9.10
  
|par1= [[DCS_singleton_world|world]]
+
|par1= [[DCS_singleton_world|world.weather]]
  
 
|par2=  
 
|par2=  

Latest revision as of 04:03, 2 December 2024

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: