simulCloudOcclusion: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ") |
Lou Montana (talk | contribs) m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ") |
||
Line 27: | Line 27: | ||
<dd class="notedate">Posted on 8 August, 2014 - 12:17</dd> | <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.]]</dt> | ||
<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:32, 30 January 2021
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"};