Difference between revisions of "IsSnowing"

Jump to navigation Jump to search
16 bytes added ,  06:09, 12 January 2011
no edit summary
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Ez0n3
 
Line 1: Line 1:
=='''Syntax:'''==
{{Function
  IsSnowing  
|CSWikiPage = IsSnowing
|origin = GECK1
|summary = Returns 0 if the current weather is not classified as snow. Returns 1 if the current weather is stable and snowy.
|name = IsSnowing
|returnVal = 0, 1
|returnType = int
  |example = if IsSnowing
}}


Returns 0 if the current weather is not classified as snow. Returns 1 if the current weather is stable and snowy.
==Notes==
In fallout, instead of working like in Oblivion and like IsPleasant and IsCloudy, it cannot return a value different from 0 and 1.
*In fallout, instead of working like in Oblivion and like IsPleasant and IsCloudy, it cannot return a value different from 0 and 1. So if you need to know when a snowy weather is in transition use this formula instead:
So if you need to know when a snowy weather is in transition use this formula instead:
<pre>
if IsSnowing == 1 && GetCurrentWeatherPercent == 0.5
</pre>
This let you do something if a snowy weather is half transitioned


  ; This will let you do something if a snowy weather is half transitioned
  if IsSnowing == 1 && GetCurrentWeatherPercent == 0.5


=='''See Also'''==
==See Also==
*[[GetCurrentWeatherPercent]]
*[[GetCurrentWeatherPercent]]
*[[IsCloudy]]
*[[IsCloudy]]
*[[IsRaining]]
*[[IsRaining]]
*[[IsPleasant]]
*[[IsPleasant]]
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/IsSnowing IsSnowing].


[[Category:Functions]]
[[Category:Functions]]
Anonymous user

Navigation menu