Difference between revisions of "IsSnowing"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Skingrad24
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Line 19: Line 19:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Weather Functions]]
[[Category:Weather Functions]]
[[Category:Weather Functions (GECK 1.0)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.0)]]

Revision as of 12:09, 12 August 2009

Syntax:

IsSnowing 

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:

if IsSnowing == 1 && GetCurrentWeatherPercent == 0.5

This let you do something if a snowy weather is half transitioned


See Also