Mã:
Day
Events
Game - The in-game time of day becomes Greater than or equal to 6.00
Game - The in-game time of day becomes Less than or equal to 18.00
Conditions
Actions
Set Random = (Random integer number between 1 and 2)
Mã:
Night
Events
Game - The in-game time of day becomes Less than or equal to 6.00
Game - The in-game time of day becomes Greater than or equal to 18.00
Conditions
Actions
Set Random = (Random integer number between 2 and 3)
Mã:
Weather
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Environment - Remove Weather
If (Random Equal to (==) 1) then do (Environment - Create at (Playable map area) the weather effect Rays Of Light) else do (Set Weather = (Last created weather effect))
If (Random Equal to (==) 2) then do (Environment - Create at (Playable map area) the weather effect Ashenvale Rain (Heavy)) else do (Set Weather = (Last created weather effect))
If (Random Equal to (==) 3) then do (Environment - Create at (Playable map area) the weather effect Rays Of Moonlight) else do (Set Weather = (Last created weather effect))
Environment - Turn Weather On
Làm như trên thì được nhưng sẽ không hay lắm vì thời tiết sẽ giật mỗi 5s

. Muốn thêm bao nhiêu kiểu thời tiết thì thêm bấy nhiêu hàm if ở trigger Weather thôi.