Changing the weather randomly

Level 2
Joined
Aug 3, 2012
Messages
19
I found this on another forum... here http://www.thehelper.net/threads/random-events.13650/


  • Random weather
    • Events
      • Time - Every (Random real number between 0.00 and 40.00) seconds of game time
    • Conditions
    • Actions
      • Environment - Turn Weather Off
      • Set Weatherintg = (Random integer number between 1 and 3)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Weatherintg Equal to 1
        • Then - Actions
          • Environment - Create at (Playable map area) the weather effect Ashenvale Rain (Heavy)
          • Game - Display to (All players) the text: There has been a ch...
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Weatherintg Equal to 2
        • Then - Actions
          • Environment - Create at (Playable map area) the weather effect Wind (Heavy)
          • Game - Display to (All players) the text: There has been a ch...
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Weatherintg Equal to 3
        • Then - Actions
          • Environment - Create at (Playable map area) the weather effect Dungeon Green Fog (Heavy)
          • Game - Display to (All players) the text: There has been a ch...
        • Else - Actions
      • Environment - Turn Weather On

and it isnt working can someone tell me whats wrong? Weather is a variable Weather Effect and Weatherintg is a variable integer... +Rep for help
 
Top