IsSnowing

From the Fallout3 GECK Wiki
Revision as of 12:09, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Jump to navigation Jump to search

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