- Joined
- Jun 25, 2008
- Messages
- 1,043
I want the triggers to change the weather to a random one of 4 possible.
But it doesn't work
Let me show you the triggers i use first. (they somehow don't work <<)
(and then i have another one for night, exactly the same but time of day 18.00)
Then i have various weather types, 4 to be precise.
That's basically how they look.
And then in initialization, i have this:
Now i wonder, what could be the problem? oO
But it doesn't work
Let me show you the triggers i use first. (they somehow don't work <<)
-
Morning weather roll
-
Events
-
Game - The in-game time of day becomes Equal to 6.00
-
-
Conditions
-
Actions
-
Set WeatherRoll[1] = False
-
Set WeatherRoll[2] = False
-
Set WeatherRoll[3] = False
-
Set WeatherRoll[4] = False
-
Wait 1.00 seconds
-
Set WeatherRoll[(Random integer number between 1 and 4)] = True
-
Trigger - Run (This trigger) (checking conditions)
-
-
Then i have various weather types, 4 to be precise.
-
heavy Rain roll
-
Events
-
Conditions
-
Actions
-
Wait until (WeatherRoll[1] Equal to (==) True), checking every 1.00 seconds
-
Environment - Turn CurrentWeather Off
-
Environment - Turn Weather[1] On
-
Set CurrentWeather = Weather[1]
-
Trigger - Run (This trigger) (checking conditions)
-
-
That's basically how they look.
And then in initialization, i have this:
-
Map initialization
-
Events
-
Time - Elapsed game time is 0.50 seconds
-
-
Conditions
-
Actions
-
Environment - Create at (Playable map area) the weather effect Lordaeron Rain (Heavy)
-
Set Weather[1] = (Last created weather effect)
-
Environment - Create at (Playable map area) the weather effect Lordaeron Rain (Light)
-
Set Weather[2] = (Last created weather effect)
-
Environment - Create at (Playable map area) the weather effect Outland Wind (Light)
-
Set Weather[3] = (Last created weather effect)
-
Trigger - Run heavy Rain roll <gen> (ignoring conditions)
-
Trigger - Run Light rain roll <gen> (ignoring conditions)
-
Trigger - Run Wind roll <gen> (ignoring conditions)
-
Trigger - Run Normal roll <gen> (ignoring conditions)
-
-
Now i wonder, what could be the problem? oO