BIS fnc interpolateWeather: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


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


| arma3 |Game name=
|gr1= Environment


|1.00|Game version=
|descr= <pre>/*
____________________________________________________________________________________________
 
| <pre>/*


Description:
Description:
Line 25: Line 23:
Example:
Example:
[_overcast,_fog] = [[2035,1,5,24,00],[0.1,0.5],[2035,1,10,24,00],[0.3,0.2],[2035,1,7,24,00]] call BIS_fnc_interpolateWeather;
[_overcast,_fog] = [[2035,1,5,24,00],[0.1,0.5],[2035,1,10,24,00],[0.3,0.2],[2035,1,7,24,00]] call BIS_fnc_interpolateWeather;
*/
*/</pre>
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_interpolateWeather]]; --> |SYNTAX=


|p1= |PARAMETER1=
{{Wiki|placeholder}}


| |RETURNVALUE=
|s1= <!-- [] call [[BIS_fnc_interpolateWeather]] -->
____________________________________________________________________________________________


|x1= <code></code> |=
|r1=
____________________________________________________________________________________________


| |SEEALSO=
|x1= <!-- <sqf>[] call BIS_fnc_interpolateWeather;</sqf> -->


|seealso=
}}
}}
<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: Misc|{{uc:interpolateWeather}}]]
[[Category:Functions|{{uc:interpolateWeather}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:interpolateWeather}}]]

Latest revision as of 13:09, 5 May 2022

Hover & click on the images for description

Description

Description:
/*

	Description:
	Interpolate weather (overcast and fog) according to 2 boundry dates and their weather conditions.

	Parameter(s):
	_this select 0: array	- _date1 	[_year1,_month1,_day1,_hour1,_min1]
	_this select 1: array	- _weather1	[_overcast1,_fog1]
	_this select 2: array	- _date2 	[_year2,_month2,_day2,_hour2,_min2]
	_this select 3: array	- _weather2	[_overcast2,_fog2]
	_this select 4: array	- _subjectDate 	[_year,_month,_day,_hour,_min] (default: current date)

	Returns:
	[_interpolatedOvercast,_interpolatedFog]

	Example:
	[_overcast,_fog] = [[2035,1,5,24,00],[0.1,0.5],[2035,1,10,24,00],[0.3,0.2],[2035,1,7,24,00]] call BIS_fnc_interpolateWeather;
*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
call
Groups:
Environment

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

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