simulInClouds: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "|edeneditor" to "|Eden Editor")
 
(18 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=
|pr= {{Feature|Eden Editor|SimulWeather seems to be disabled in [[:Category:Eden Editor|Eden Editor]] and scenario preview.}}


|gr1= Environment |GROUP1=
|gr1= Environment
____________________________________________________________________________________________


| Returns if given position is in clouds. |DESCRIPTION=
|descr= Returns if given position is in clouds.
____________________________________________________________________________________________


| '''simulInClouds''' pos |SYNTAX=
|s1= [[simulInClouds]] pos


|p1= pos: [[Position]] |PARAMETER1=
|p1= pos: [[Position]]
| [[Boolean]] |RETURNVALUE=


|r1=
* [[Boolean]] -  [[true]] if given position is in clouds
* [[Nothing]] - If given arguments are incorrect


|x1= <code>[[simulInClouds]] ([[getPos]] [[player]]);</code>|EXAMPLE1=
|x1= <sqf>simulInClouds getPos player;</sqf>


____________________________________________________________________________________________
|seealso= [[setSimulWeatherLayers]] [[simulCloudDensity]] [[simulCloudOcclusion]]
 
| [[setSimulWeatherLayers]], [[simulCloudDensity]], [[simulCloudOcclusion]] |SEEALSO=
 
|  |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>
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{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 if given position is in clouds.
Problems:
Eden Editor
SimulWeather seems to be disabled in Eden Editor and scenario preview.
Groups:
Environment

Syntax

Syntax:
simulInClouds pos
Parameters:
pos: Position
Return Value:

Examples

Example 1:
simulInClouds getPos player;

Additional Information

See also:
setSimulWeatherLayers simulCloudDensity simulCloudOcclusion

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