| 01-22-2004, 08:47 PM | #1 |
Could someone tell me how to make weather effects appear at random times in the game. Could i make only a few of the weather effects appear? Eg. The only ones that will appear are Lordaeron Rain Light, Lordaeron Rain Heavy, Wind Heavy... Any help would be appreciated. Thanks |
| 01-22-2004, 09:34 PM | #2 |
you could do a random int, say 1 to 10 and for every number do a certain weather effect for a period of time, then do it again. that should work |
| 01-23-2004, 03:09 AM | #3 |
Could you please be a bit more specific? Could you tell me what variables and triggers I need to use? Thanks. |
| 01-23-2004, 10:35 AM | #4 |
Code:
E - Every 30 seconds of the game. A - Set RandomWeatherValue to a random number between 1 and 3 A - If RandomWeatherValue equal to 1 A - TA - Create Lordaeron rain (light) in playable map area A - If RandomWeatherValue equal to 2 A - TA - Create Lordaeron rain (heavy) in playable map area A - ETC..... |
| 01-23-2004, 10:55 AM | #5 |
and right after you Create the weather effect, add "Environment- Turn the last created weather effect on" |
