simulCloudDensity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *D([a-z])" to "$1 - d$2")
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Returns density of clouds at given position.
|descr= Returns density of clouds at given position.


|pr = {{Feature|edeneditor|SimulWeather seems to be disabled in [[Eden Editor]] and scenario preview.}}
|pr= {{Feature|edeneditor|SimulWeather seems to be disabled in [[:Category:Eden Editor|Eden Editor]] and scenario preview.}}


|s1= [[simulCloudDensity]] pos
|s1= [[simulCloudDensity]] pos
Line 15: Line 15:


|r1=  
|r1=  
* [[Number]] - Density (0-1)
* [[Number]] - density (0-1)
* [[Nothing]] - If arguments are incorrect
* [[Nothing]] - If arguments are incorrect
* [[Boolean]] - Returns [[false]] if simulWeather is disabled
* [[Boolean]] - Returns [[false]] if simulWeather is disabled


|x1= <code>[[simulCloudDensity]] [[getPos]] [[player]];</code>
|x1= <sqf>simulCloudDensity getPos player;</sqf>


|seealso= [[setSimulWeatherLayers]], [[simulCloudOcclusion]], [[simulInClouds]]
|seealso= [[setSimulWeatherLayers]] [[simulCloudOcclusion]] [[simulInClouds]]
}}
}}

Latest revision as of 15:01, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns density of clouds at given position.
Problems:
Eden Editor
SimulWeather seems to be disabled in Eden Editor and scenario preview.
Groups:
Environment

Syntax

Syntax:
simulCloudDensity pos
Parameters:
pos: Position
Return Value:

Examples

Example 1:
simulCloudDensity getPos player;

Additional Information

See also:
setSimulWeatherLayers simulCloudOcclusion simulInClouds

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note