BIS fnc paramWeather: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
|descr= Sets overcast using [[BIS_fnc_setOvercast]].
|descr= Sets overcast using [[BIS_fnc_setOvercast]].


|s1=[0] call [[BIS_fnc_paramWeather]]
|s1= [0] call [[BIS_fnc_paramWeather]]


|p1= [[Number]] - Overcast value. ''Multiplied by 0.01 inside the function. Default value is '''current overcast value'''.''
|p1= [[Number]] - overcast value. ''Multiplied by 0.01 inside the function. Default value is '''current overcast value'''.''


|r1= [[Number]] - Overcast value (ranging from 0 to 1).
|r1= [[Number]] - overcast value (ranging from 0 to 1).


|x1= <code>overCastValue = [1] call BIS_fnc_paramWeather;</code>
|x1= <sqf>overCastValue = [1] call BIS_fnc_paramWeather;</sqf>


|seealso= [[BIS_fnc_setOvercast]] [[overcast]], [[setOvercast]]
|seealso= [[BIS_fnc_setOvercast]] [[overcast]] [[setOvercast]]
}}
}}

Latest revision as of 15:44, 8 November 2023

Hover & click on the images for description

Description

Description:
Sets overcast using BIS_fnc_setOvercast.
Execution:
call
Groups:
Mission Parameters

Syntax

Syntax:
[0] call BIS_fnc_paramWeather
Parameters:
Number - overcast value. Multiplied by 0.01 inside the function. Default value is current overcast value.
Return Value:
Number - overcast value (ranging from 0 to 1).

Examples

Example 1:
overCastValue = [1] call BIS_fnc_paramWeather;

Additional Information

See also:
BIS_fnc_setOvercast overcast setOvercast

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