simulCloudOcclusion

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Returns clouds occlusion between two given points (0 - no clouds, 1 - full clouds).

Syntax

Syntax:
simulCloudOcclusion [pos1,pos2]
Parameters:
[pos1,pos2]: Array
pos1: Position
pos2: Position
Return Value:
Number

Examples

Example 1:
canSeeSun = (simulCloudOcclusion == 0)

Additional Information

Multiplayer:
-
See also:
setSimulWeatherLayerssimulCloudDensitysimulInClouds

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

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"};

Bottom Section