• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Weather on/off Trigger.

Panda

Icon Reviewer
Level 84
Joined
Jun 2, 2008
Messages
17,581
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