BIS fnc paramWeather: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(30 intermediate revisions by 6 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
____________________________________________________________________________________________


| <pre>/*
|descr= Sets overcast using [[BIS_fnc_setOvercast]].


Description:
|s1= [0] call [[BIS_fnc_paramWeather]]
Set overcast


Parameter(s):
|p1= [[Number]] - overcast value. ''Multiplied by 0.01 inside the function. Default value is '''current overcast value'''.''
NUMBER - overcast


Returns:
|r1= [[Number]] - overcast value (ranging from 0 to 1).
NUMBER - overcast
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>overCastValue = [1] call BIS_fnc_paramWeather;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_paramWeather]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|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