Difference between revisions of "DCS func setFogVisibilityDistance"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:dcs_funcs |fName= setFogVisibilityDistance |vNum= 2.9.10 |par1= world.weather |par2= |par3= |par4= |desc= Sets the maximum visibili...")
 
Line 22: Line 22:
 
|rtnExample=  
 
|rtnExample=  
  
|reqType1=  
+
|reqType1= number
  
|reqName1=  
+
|reqName1= visibility
  
 
|reqType2=  
 
|reqType2=  

Revision as of 04:38, 2 December 2024

Scripting Root

Envrioment: Mission Scripting
Function: setFogVisibilityDistance Added with: 2.9.10
Member Of: world.weather
Syntax: world.weather.setFogVisibilityDistance(number visibility )
Description: Sets the maximum visibility at sea level in meters.

Limit: 100 to 100000


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

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

Notes: