simulCloudOcclusion: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([^|]+\|)(!?=?=?\+?-?)\]\]([^<]*) *<\/code>" to "<code>$1$3$4</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 21: | Line 21: | ||
* [[Boolean]] - Returns [[false]] if simulWeather is disabled | * [[Boolean]] - Returns [[false]] if simulWeather is disabled | ||
|x1= < | |x1= <sqf>private _posPlayer = getPos player; | ||
private _posAbovePlayer = +_posPlayer; _posAbovePlayer set [2,200]; | private _posAbovePlayer = +_posPlayer; _posAbovePlayer set [2,200]; | ||
simulCloudOcclusion [_posPlayer, _posAbovePlayer];</ | simulCloudOcclusion [_posPlayer, _posAbovePlayer];</sqf> | ||
|seealso= [[setSimulWeatherLayers]] [[simulCloudDensity]] [[simulInClouds]] | |seealso= [[setSimulWeatherLayers]] [[simulCloudDensity]] [[simulInClouds]] |
Revision as of 10:25, 13 May 2022
Description
- Description:
- Returns clouds occlusion between two given points.
- Problems:
- Groups:
- Environment
Syntax
- Syntax:
- simulCloudOcclusion [pos1, pos2]
- Parameters:
- pos1: Position
- pos2: Position
- Return Value:
Examples
- Example 1:
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
- 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"};