simulCloudDensity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *D([a-z])" to "$1 - d$2")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|= Game version
|gr1= Environment
____________________________________________________________________________________________


| Returns density of clouds at given position. |DESCRIPTION=
|descr= Returns density of clouds at given position.
____________________________________________________________________________________________


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


|p1= pos: [[Position]] |PARAMETER1=
|s1= [[simulCloudDensity]] pos
| [[Number]] |RETURNVALUE=


|p1= pos: [[Position]]


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


____________________________________________________________________________________________
|x1= <sqf>simulCloudDensity getPos player;</sqf>


| [[setSimulWeatherLayers]], [[simulCloudOcclusion]], [[simulInClouds]] |SEEALSO=
|seealso= [[setSimulWeatherLayers]] [[simulCloudOcclusion]] [[simulInClouds]]
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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