simulCloudDensity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "|edeneditor" to "|Eden Editor")
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.00


|1.00
|gr1= Environment


|gr1= Environment
|descr= Returns density of clouds at given position.


| Returns density of clouds at given position.
|pr= {{Feature|Eden Editor|SimulWeather seems to be disabled in [[:Category:Eden Editor|Eden Editor]] and scenario preview.}}


| '''simulCloudDensity''' pos
|s1= [[simulCloudDensity]] pos


|p1= pos: [[Position]]
|p1= pos: [[Position]]
| [[Number]]


|x1= <code>[[simulCloudDensity]] ([[getPos]] [[player]]);</code>
|r1=  
* [[Number]] - density (0-1)
* [[Nothing]] - If arguments are incorrect
* [[Boolean]] - Returns [[false]] if simulWeather is disabled


| [[setSimulWeatherLayers]], [[simulCloudOcclusion]], [[simulInClouds]]
|x1= <sqf>simulCloudDensity getPos player;</sqf>


|
|seealso= [[setSimulWeatherLayers]] [[simulCloudOcclusion]] [[simulInClouds]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 19:22, 10 July 2024

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