Weather on/off Trigger.

Level 83
Joined
Jun 2, 2008
Messages
17,531
Hey!

Im making a 1v1 melee map and id like to have random weather that turns on and off every like 5 minutes or so .. Can someone make a simple trigger that could do that perhaps?

For example,

I want it to have maybe light snow for a bit then go into heavy snow for a bit more than it stops after a little while.. and then it starts again kind of like that.

Thanks!
 
Hi there, I attached a map with a rather simple Weather system.

It's setup to transition from a light snow that builds up into a blizzard and then back to light snow before finally stopping (resetting the process after some time).

It does that snow transition automatically. But you can manually create a new Weather effect like so:
  • Set VariableSet Weather_Name = snow_light
  • Trigger - Run Weather Create By Name <gen> (ignoring conditions)
Note that doing this will interfere with the snow transitions due to them sharing the Weather_Last variable. But more importantly, it seems like you can only have 1 Weather Effect running at a time, so you have to Remove the last one before creating a New one. The "Weather Create By Name" trigger does this already.
 

Attachments

Last edited:
Hi there, I attached a map with a rather simple Weather system.

It's setup to transition from a light snow that builds up into a blizzard and then back to light snow before finally stopping (resetting the process after some time).

It does that snow transition automatically. But you can manually create a new Weather effect like so:
  • Set VariableSet Weather_Name = snow_light
  • Trigger - Run Weather Create By Name <gen> (ignoring conditions)
Note that this will interfere with the snow transitions due to them sharing the Weather_Last variable. Also, it seems as though you can only have 1 Weather Effect running at a time anyway, so you have to Remove the last one before creating a New one. "Weather Create By Name" does this already.
Thanks! I will check it out and see if i run into any problems.
 
Back
Top