K
KevinBagu
Guest
How do I create random weather?
Random Weather
Events
Time - Every 240.00 seconds of game time
Conditions
Actions
Environment - Create at (Playable map area) the weather effect Ashenvale Rain (Heavy)
Random Weather
Events
Time - Elapsed game time is 420.00 seconds
Conditions
Actions
Environment - Create at (Playable map area) the weather effect Northrend Blizzard
For each (Integer A) from 0 to 10, do (Actions)
Loop - Actions
Environment - Create at Whatever[(Integer A)] the weather effect Northrend Snow (Heavy)
Set weather[(Integer A)] = (Last created weather effect)
weather
Events
Time - Every (Random real number between 0.00 and 60.00) seconds of game time
Conditions
Actions
Set Random_Area = (Random integer number between 0 and 25)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 0 and 10) Greater than or equal to 5
Then - Actions
Environment - Turn weather[Random_Area] On
Else - Actions
Environment - Turn weather[Random_Area] Off