simulCloudOcclusion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
Line 26: Line 26:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on 8 August, 2014 - 12:17
<dd class="notedate">Posted on 8 August, 2014 - 12:17</dd>
<dt class="note">[[User:Waffle SS.|Waffle SS.]]
<dt class="note">[[User:Waffle SS.|Waffle SS.]]
<dd class="note">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: <code>if ![[isDedicated]] then {[] [[execVM]] "simulCloudOcclusionScript.sqf"};</code>
<dd class="note">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: <code>if ![[isDedicated]] then {[] [[execVM]] "simulCloudOcclusionScript.sqf"};</code>

Revision as of 01:18, 30 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Environment

Syntax

Syntax:
Syntax needed
Parameters:
[pos1,pos2]: Array
pos1: Position
pos2: Position
Return Value:
Return value needed

Examples

Example 1:
canSeeSun = (simulCloudOcclusion == 0)

Additional Information

See also:
See also needed

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