Difference between revisions of "ScenEdit SetWeather"

From Baloogan Campaign Wiki
Jump to: navigation, search
m (Baloogan moved page LuaApi:ScenEdit SetWeather to ScenEdit SetWeather without leaving a redirect)
Line 1: Line 1:
 +
'''[http://commandlua.github.io/#ScenEdit_SetWeather Reference]'''
 +
 
<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)])

Revision as of 12:07, 8 December 2014

Reference

<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>