BIS fnc paramWeather: Difference between revisions

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


{{Function|Comments=
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |Game name=
|gr1= Mission Parameters


|1.00|Game version=
|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">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Params|{{uc:paramWeather}}]]
[[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