simulCloudDensity: Difference between revisions
Jump to navigation
Jump to search
(added warning and named params) |
m (updated return value) |
||
Line 8: | Line 8: | ||
|descr= Returns density of clouds at given position. | |descr= Returns density of clouds at given position. | ||
|pr = {{Feature|edeneditor|SimulWeather seems to be disabled in [[Eden Editor]] and scenario preview.}} | |||
|s1= [[simulCloudDensity]] pos | |s1= [[simulCloudDensity]] pos | ||
Line 13: | Line 15: | ||
|p1= pos: [[Position]] | |p1= pos: [[Position]] | ||
|r1= [[Number]] - | |r1= | ||
* [[Number]] - Density (0-1) | |||
* [[Nothing]] - If arguments are incorrect | |||
* [[Boolean]] - Returns [[false]] if simulWeather is disabled | |||
|x1= <code>[[simulCloudDensity]] | |x1= <code>[[simulCloudDensity]] [[getPos]] [[player]];</code> | ||
|seealso= [[setSimulWeatherLayers]], [[simulCloudOcclusion]], [[simulInClouds]] | |seealso= [[setSimulWeatherLayers]], [[simulCloudOcclusion]], [[simulInClouds]] | ||
}} | }} |
Revision as of 12:27, 8 February 2021
Description
- Description:
- Returns density of clouds at given position.
- Problems:
- Groups:
- Environment
Syntax
- Syntax:
- simulCloudDensity pos
- Parameters:
- pos: Position
- Return Value:
Examples
- Example 1:
simulCloudDensity getPos player;
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