Difference between revisions of "nextWeatherChange"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Removed duplicate categorization + tidied Desc. while here)
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma |= Game name
+
| arma |Game name=
  
|1.00|= Game version
+
|1.00|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
 
| Return the remaining time (in seconds) over which the current weather change will occur.
 
| Return the remaining time (in seconds) over which the current weather change will occur.
 
<br>
 
<br>
When a weather change finishes, the game engine will automatically generate a new random weather change over a realistic time period (minimum of 90 minutes). |= Description
+
When a weather change finishes, the game engine will automatically generate a new random weather change over a realistic time period (minimum of 90 minutes). |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Number]] <nowiki>=</nowiki> '''nextWeatherChange''' |= Syntax
+
| [[Number]] <nowiki>=</nowiki> '''nextWeatherChange''' |SYNTAX=
  
| [[Number]] |= Return value
+
| [[Number]] |RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code>_seconds = [[nextWeatherChange]];</code> |= Example 1
+
|x1= <code>_seconds = [[nextWeatherChange]];</code> |EXAMPLE1=
  
 
|mp= Each client and the server can have differing weather. |= Multiplayer
 
|mp= Each client and the server can have differing weather. |= Multiplayer
  
| [[fog]], [[fogForecast]], [[setFog]], [[overcast]], [[setOvercast]], [[overcastForecast]], [[forceWeatherChange]] |= See also
+
| [[fog]], [[fogForecast]], [[setFog]], [[overcast]], [[setOvercast]], [[overcastForecast]], [[forceWeatherChange]] |SEEALSO=
 
}}
 
}}
  
Line 34: Line 34:
  
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Armed Assault|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 20:17, 3 June 2020

Introduced with Armed Assault version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Return the remaining time (in seconds) over which the current weather change will occur.
When a weather change finishes, the game engine will automatically generate a new random weather change over a realistic time period (minimum of 90 minutes).
Multiplayer:
Each client and the server can have differing weather.

Syntax

Syntax:
Number = nextWeatherChange
Return Value:
Number

Examples

Example 1:
_seconds = nextWeatherChange;

Additional Information

See also:
fogfogForecastsetFogovercastsetOvercastovercastForecastforceWeatherChange

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section