Difference between revisions of "IsSnowing"
no edit summary
imported>Skingrad24 |
imported>Skingrad24 |
||
Line 2: | Line 2: | ||
IsSnowing | IsSnowing | ||
Returns 0 if the current weather is not classified as snow. | Returns 0 if the current weather is not classified as snow. Returns 1 if the current weather is stable and snowy. | ||
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: | |||
<pre> | |||
if IsSnowing == 1 && GetCurrentWeatherPercent == 0.5 | |||
</pre> | |||
This let you do something if a snowy weather is half transitioned | |||
=='''See Also'''== | =='''See Also'''== | ||
*[[GetCurrentWeatherPercent]] | |||
*[[IsCloudy]] | *[[IsCloudy]] | ||
*[[IsRaining]] | *[[IsRaining]] |