Difference between revisions of "ScenEdit SetWeather"
From Baloogan Campaign Wiki
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | '''[http://commandlua.github.io/#ScenEdit_SetWeather Function Documentation]''' | ||
+ | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
ScenEdit_SetWeather([Average Temperature], [Rainfall Rate (0-50)], [Cloud Percentage (0.0 - 1.0)], [Sea State (0 - 9)]) | ScenEdit_SetWeather([Average Temperature], [Rainfall Rate (0-50)], [Cloud Percentage (0.0 - 1.0)], [Sea State (0 - 9)]) |
Latest revision as of 12:07, 8 December 2014
<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>