BIS fnc paramWeather: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " to " ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Mission Parameters
 
|gr1= Mission Parameters |GROUP1=


|serverExec= server
|serverExec= server


| Sets overcast using [[BIS_fnc_setOvercast]]. |DESCRIPTION=
|descr= Sets overcast using [[BIS_fnc_setOvercast]].


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


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


| [[Number]] - Overcast value (ranging from 0 to 1). |RETURNVALUE=
|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>
 
| [[BIS_fnc_setOvercast]], [[overcast]], [[setOvercast]] |SEEALSO=


|seealso= [[BIS_fnc_setOvercast]] [[overcast]] [[setOvercast]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:paramWeather}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:paramWeather}}]]

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