simulCloudOcclusion: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
||
Line 43: | Line 43: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
{{GameCategory|arma3|New_Scripting_Commands_List}} | {{GameCategory|arma3|New_Scripting_Commands_List}} | ||
{{GameCategory|arma3|Scripting Commands}} | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 18:54, 9 January 2021
Description
- Description:
- Returns clouds occlusion between two given points (0 - no clouds, 1 - full clouds).
- Groups:
- Environment
Syntax
- Syntax:
- simulCloudOcclusion [pos1,pos2]
- Parameters:
- [pos1,pos2]: Array
- pos1: Position
- pos2: Position
- Return Value:
- Number
Examples
- Example 1:
canSeeSun = (simulCloudOcclusion == 0)
Additional Information
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
Notes
- Posted on 8 August, 2014 - 12:17
- Waffle SS.
- The simulCloudOcclusion command is not recognized on dedicated servers, and will produce an error. If you use this command, it cannot be anywhere within a script that is run on the dedicated server, or the entire script will halt. To get around this, you can use:
if !isDedicated then {[] execVM "simulCloudOcclusionScript.sqf"};