ScenEdit SetWeather

From Baloogan Campaign Wiki
Revision as of 12:07, 8 December 2014 by Baloogan (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Function Documentation

<syntaxhighlight lang="lua"> ScenEdit_SetWeather([Average Temperature], [Rainfall Rate (0-50)], [Cloud Percentage (0.0 - 1.0)], [Sea State (0 - 9)])

--Random weather ScenEdit_SetWeather(math.random(0,25), math.random(0,50), math.random(0,10)/10.0, math.random(0,9)) </syntaxhighlight>