• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Random Weather in several Regions HALP

Status
Not open for further replies.
Level 11
Joined
Jun 30, 2008
Messages
580
I want in region 1 random weather is created
I want in region 2 random weather is created.
But only one region has weather.

Also another thing I have a trigger for night and day
At night moonlight is created at region 3
at day rays are created at region 3.

And when it turns to night or day the weather that is already was there disapears.... How do I fix this?
 
  • Weather
  • Events
    • Game - The in-game time becomes Equal to 18.00
  • Conditions
  • Actions
    • If/ Then/ Else
      • If (Conditions)
        • NightOn Not Equal to True
      • Then (Actions)
        • Set NightOn = True
        • Set DayOn = False
        • Environment - Create at Region 0003 <gen> the weather effect Rays of Moonlight
        • Environment - Turn (Last created weather effect) On
      • Else (Actions)
  • Weather2
  • Events
    • Game - The in-game time becomes Equal to 6:30
  • Conditions
  • Actions
    • If/Then/Else
      • If (Conditions)
        • DayOn Not Equal to True
      • Then (Actions)
        • Set NightOn = False
        • Set DayOn = True
        • Environment - Create at Region 0003 <gen> the weather effect Rays of Light
        • Environment - Turn (Last created weather effect) On
 
Level 9
Joined
May 10, 2009
Messages
542
Use If Then Else's for the random weather.
Like, If random integer equal to 1 then blah blah blah,
Set Variable CurrentWeather[string] - LR (light rain...blah blah)
Set Variable CurrentWeatherEffect - last created weather effect, etc.
Ask me if I haven't provided enough help.
 
Status
Not open for further replies.
Top