• 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.

Problem with Weather Effects.

Status
Not open for further replies.
Level 1
Joined
Jun 23, 2021
Messages
1
Well, I don't know if this is the place to do this ... but despite all my attempts to find a solution on my own, consult videos and other posts on the same topic, I have not been able to make it work.
I've been starting to recreate maps in the editor for several days, and I haven't been able to use weather effects on any map. I am not an expert in triggers (I would not even say that I know basic) but following the examples of other posts and videos, none have worked for me. I'm not looking for anything complicated, just putting weather effects in certain areas, through regions, but all my attempts have failed. The global weather in maps options is not even activated, so it must be something. I'm sure that this topic has already been seen more than once, but all the posts that I have consulted here have not worked for me, and they spoke of more complex issues than what I am trying to do. This is the trigger that I have seen that should work, but it doesn't seem to work for me for some reason.
PD: I'm sorry if my English is not very good, speaking and writing it is not something that im particularly good at
 

Attachments

  • Trigger.png
    Trigger.png
    5.5 KB · Views: 36

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,887
Try changing the Event to an Elapsed Time one. Otherwise, I don't know, could be an issue with Reforged.

The thing is I have "working" weather in a map I made on the most recent version of wc3, but I'm not creating it in GUI.

Here's the code I use:
Lua:
local weather = AddWeatherEffect(GetPlayableMapRect(), FourCC("RAlr"))
EnableWeatherEffect(weather, true);

So maybe try something like this:
  • Actions:
  • Custom script: set weather = AddWeatherEffect(GetPlayableMapRect(), 'RAlr')
  • Custom script: EnableWeatherEffect(weather, true)
The reason I said "working" is because it has other less important problems. Like when it comes to creating multiple weather effects at the same time and removing existing ones it can have weird behavior and things can stop working.
 
Status
Not open for further replies.
Top