- Joined
- Jun 2, 2012
- Messages
- 747
Hello, hivers. I have created a weather system in my game based on a user but it doesnt work... here's the trigger:
-
Random Weather System
-

Events
-


Time - Every 5.00 seconds of game time
-
-

Conditions
-

Actions
-


Set RandomWeatherInteger = (Random integer number between 1 and 5)
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




RandomWeatherInteger Equal to 1
-
-



Then - Actions
-




Environment - Remove (Last created weather effect)
-




Environment - Create at (Entire map) the weather effect Lordaeron Rain (Light)
-
-



Else - Actions
-




Do nothing
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






RandomWeatherInteger Equal to 2
-
-





Then - Actions
-






Environment - Remove (Last created weather effect)
-






Environment - Create at (Entire map) the weather effect Lordaeron Rain (Heavy)
-
-





Else - Actions
-






Do nothing
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








RandomWeatherInteger Equal to 3
-
-







Then - Actions
-








Environment - Remove (Last created weather effect)
-








Environment - Create at (Entire map) the weather effect Wind (Heavy)
-
-







Else - Actions
-








Do nothing
-








If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-









If - Conditions
-










RandomWeatherInteger Equal to 4
-
-









Then - Actions
-










Environment - Remove (Last created weather effect)
-










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









Else - Actions
-










Do nothing
-










If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-











If - Conditions
-












RandomWeatherInteger Equal to 5
-
-











Then - Actions
-












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











Else - Actions
-












Do nothing
-
-
-
-
-
-
-
-
-
-
-
-
