- Joined
- May 8, 2009
- Messages
- 102
Hello again Hivelets! Long time no see...
So I've been working on a random weather system that I'm gonna implement on a farming simulation (LOL) and I've been experiencing problems that no one I've asked have been able to answer. so, I'm asking you guys for help! so anyway here's the triggers:
So I've been working on a random weather system that I'm gonna implement on a farming simulation (LOL) and I've been experiencing problems that no one I've asked have been able to answer. so, I'm asking you guys for help! so anyway here's the triggers:
-
Weather Initialization
-

Events
-


Time - Elapsed game time is 0.01 seconds
-
-

Conditions
-

Actions
-


Environment - Create at (Playable map area) the weather effect Northrend Snow (Light)
-


Set WeatherEffect[1] = (Last created weather effect)
-


Environment - Turn (Last created weather effect) Off
-


Environment - Create at (Playable map area) the weather effect Northrend Snow (Heavy)
-


Set WeatherEffect[2] = (Last created weather effect)
-


Environment - Turn (Last created weather effect) Off
-


Environment - Create at (Playable map area) the weather effect Northrend Blizzard
-


Set WeatherEffect[3] = (Last created weather effect)
-


Environment - Turn (Last created weather effect) Off
-


Set WeatherString[1] = Light Snow
-


Set WeatherString[2] = Heavy Snow
-


Set WeatherString[3] = Blizzard
-
-
-
Weather Start
-

Events
-


Time - Every 4.00 seconds of game time
-
-

Conditions
-

Actions
-


Environment - Turn WeatherEffect[WeatherIndex] Off
-


Set WeatherIndex = (Random integer number between 1 and 3)
-


Environment - Turn WeatherEffect[WeatherIndex] On
-


Game - Display to (All players) the text: WeatherString[WeatherIndex]
-
-

Don't use strings in setting the weather, because some string functions are useless in setting a random weather. So here's the trigger:









