• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Weather System

Status
Not open for further replies.
Level 7
Joined
Mar 9, 2016
Messages
226
Hey guys, I want to add weather to my map, but the system I made doesn't seem to work, just like every other trigger I make. I could use a little help. :D

  • Heavy Rain
    • Events
      • Time - Every 1000.00 seconds of game time
    • Conditions
    • Actions
      • Environment - Create at (Entire map) the weather effect Lordaeron Rain (Heavy)
      • Environment - Turn (Last created weather effect) On
      • Wait 120.00 seconds
      • Environment - Remove (Last created weather effect)
  • Fog
    • Events
      • Time - Every 1500.00 seconds of game time
    • Conditions
    • Actions
      • Environment - Create at (Entire map) the weather effect Outland Wind (Heavy)
      • Environment - Turn (Last created weather effect) On
      • Wait 120.00 seconds
      • Environment - Remove (Last created weather effect)
 
Well since you have multiple weather effects, obviously the "last created weather effect" will only refer to the last created one. You'll want to use a local variable to remove them after the wait.

(if they're not showing up at all, I dunno about that)


As a side note, you'll probably want to use game time waits. Lag in a multiplayer map and I think pausing in a single player map will still have the wait timer count down with a normal wait.
 
And you're waiting the full 16 minutes 40 seconds? (or reducing the time for testing purposes) 1000 and 1500 seconds are a long time.

Every X Seconds events will only trigger at X seconds, X*2 seconds, X*3 seconds, etc. It's not too unreasonable to think it might also trigger at 0 seconds, but that's not how wc3 does it.



If that's not it, then my last guess would be graphics settings. Low settings might disable weather effects.
 
Last edited:
As Kaijyuu say, set variable to a weather. It should like this :

  • Heavy Rain
    • Events
      • Time - Every 1000.00 seconds of game time
    • Conditions
    • Actions
      • Environment - Create at (Entire map) the weather effect Lordaeron Rain (Heavy)
      • Set heavyrain_weaeff = (Last created weather effect)
      • Environment - Turn (Last created weather effect) On
      • Wait 120.00 seconds
      • Environment - Remove (heavyrain_weaeff)
and

  • Fog
    • Events
      • Time - Every 1500.00 seconds of game time
    • Conditions
    • Actions
      • Environment - Create at (Entire map) the weather effect Outland Wind (Heavy)
      • Set fog_weaeff = (Last created weather effect)
      • Environment - Turn (Last created weather effect) On
      • Wait 120.00 seconds
      • Environment - Remove (fog_weaeff)
Note : The Variable must be created before add them to the trigger.
Hopeful this helped you
 
Last edited:
Status
Not open for further replies.
Back
Top