• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Change weather doesn't work

Status
Not open for further replies.
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

If want to change the weather, for each player. I used the trigger:

  • Change Weather
    • Events
      • Player - Player 1 (Red) types a chat message containing -weather as A substring
    • Conditions
    • Actions
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Entered chat string) Equal to -weather snow
        • Then - Actions
          • Environment - Create at (Playable map area) the weather effect Northrend Snow (Heavy)
        • Else - Actions
      • Custom script: endif
But it doesn't work =O. In this trigger you see only Player 1 (Red) but I want add it for all player. As i said, it doesn't work - but I'm wondering myself - I change the water the same way and it works but the weather not. T_T

EDIT!: Lol I solved it myself - I need to use:
  • Environment - Turn (Last created weather effect) On
( Sry didn't know that I ened to turn the weather on - because I never turned it off - again sry I'm stupid gg )
 
Status
Not open for further replies.
Top