Difference between revisions of "ScenEdit SetWeather"
From Baloogan Campaign Wiki
m (Baloogan moved page LuaApi:ScenEdit SetWeather to ScenEdit SetWeather without leaving a redirect) |
|
(No difference)
|
Revision as of 08:32, 22 November 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>