Difference between revisions of "DCS func getFogVisibilityDistance"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:dcs_funcs |fName= getFogVisibilityDistance |vNum= 2.9.10 |par1= world.weather |par2= |par3= |par4= |desc= Gets the maximum visibili...")
 
(No difference)

Latest revision as of 04:10, 2 December 2024

Scripting Root

Envrioment: Mission Scripting
Function: getFogVisibilityDistance Added with: 2.9.10
Member Of: world.weather
Syntax: number world.weather.getFogVisibilityDistance( )
Description: Gets the maximum visibility distance of the current fog setting.

Returns 0 if no fog is present.


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

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

Notes: