I wonder if this trigger leaks or not? the part where it says
-
Set weather[(Integer A)] = (Last created weather effect)
-
Create weather
-
Events
-
Conditions
-
Actions
-
-------- Imperial Land --------
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Weatherinteger[0] Equal to (==) 5
-
-
Then - Actions
-
Set current_weather[0] = 5
-
Multiboard - Set the text for Weather_multiboard item in column 2, row 2 to Heavy Rain
-
Multiboard - Set the icon for Weather_multiboard item in column 2, row 2 to ReplaceableTextures\CommandButtons\BTNBlizzard.blp
-
Do Multiple ActionsFor each (Integer A) from 0 to 8, do (Actions)
-
Loop - Actions
-
Environment - Turn weather[(Integer A)] Off
-
-
-
Do Multiple ActionsFor each (Integer A) from 0 to 8, do (Actions)
-
Loop - Actions
-
Environment - Remove weather[(Integer A)]
-
-
-
Do Multiple ActionsFor each (Integer A) from 0 to 8, do (Actions)
-
Loop - Actions
-
Set weather_group = (Units in weather_rects[(Integer A)] matching (((Matching unit) is A structure) Not equal to (!=) True))
-
Unit Group - Pick every unit in weather_group and do (Actions)
-
Loop - Actions
-
Unit - Remove Light Rain buff from (Picked unit)
-
Unit - Remove Light Wind buff from (Picked unit)
-
Unit - Remove Heavy Wind buff from (Picked unit)
-
Unit - Remove Heavy Rain buff from (Picked unit)
-
Unit - Remove Heavy Rain from (Picked unit)
-
Unit - Remove Heavy Wind from (Picked unit)
-
Unit - Remove Light Wind from (Picked unit)
-
Unit - Remove Light Rain from (Picked unit)
-
Unit - Add Heavy Rain to (Picked unit)
-
-
-
Environment - Create at weather_rects[(Integer A)] the weather effect Lordaeron Rain (Heavy)
-
Set weather[(Integer A)] = (Last created weather effect)
-
Custom script: call DestroyGroup (udg_weather_group)
-
-
-
-
-
Else - Actions
-
-
-
-