DCS func setFogVisibilityDistance: Difference between revisions

From DCS World Wiki - Hoggitworld.com
No edit summary
No edit summary
 
Line 17: Line 17:
Limit: 100  to 100000
Limit: 100  to 100000


If 0 is passed to the function the fog will be removed.


|rtnType=  
|rtnType=  

Latest revision as of 04:51, 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

If 0 is passed to the function the fog will be removed.


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

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

Notes: