BIS fnc paramWeather: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Mission Parameters
|gr1= Mission Parameters
Line 9: Line 8:
|serverExec= server
|serverExec= server


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


| [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'''.''


| [[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>


| [[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