Difference between revisions of "ScenEdit SetWeather"

From Baloogan Campaign Wiki
Jump to: navigation, search
 
Line 1: Line 1:
'''[http://commandlua.github.io/#ScenEdit_SetWeather Reference]'''
+
'''[http://commandlua.github.io/#ScenEdit_SetWeather Function Documentation]'''
  
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">

Latest revision as of 12:07, 8 December 2014

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>