Thread: [Tutorial] XSE Scripting Tutorial
View Single Post
Old 2nd March 2018, 02:02 PM  
Avara
Beginner
 
Join Date: Nov 2013
Posts: 32
Avara
Default

Weather

Manipulating weather in the overworld is easy; all you need are these two lines in your script:
Quote:
Originally Posted by Avara
setweather 0x[Weather]
doweather
We use setweather to define the weather type we'd like and doweather to activate it. For example, here's the kind of script we'd need to make it start raining:
Quote:
Originally Posted by Avara
#org @start
lock
faceplayer
msgbox @msg1 0x6
setweather 0x3
doweather
msgbox @msg2 0x6
release
end

#org @msg1
= What a lovely day!

#org @msg2
= Oh[.] I spoke too soon.
The following spoiler contains a list of weather types, accompanied by gifs that show how they look in-game:
Spoiler:

0x0 - Indoors (None)

0x1 - Clouds in Water Reflection (can look strange)

0x2 - Regular Weather

0x3 - Raining

0x4 - Light Snow

0x5 - Storm (occasional lightning)

0x6 - Steady Mist

0x7 - Volcanic Ash

0x8 - Sandstorm

0x9 - Thick Fog

0xA - Light Mist

0xB - Overcast

0xC - Strong Sun [EM]

0xD - Heavy Thunderstorm

0xE - Underwater Mist

0xF - Alternating Strong Sun/Heavy Storm [EM]


Avara is offline   Reply With Quote
Likes Lunos liked this post