AddWeatherEffect

Parameters
where rect

The rect to apply the weathereffect to.

effectID integer

Which effect to apply.

comment

Adds the weather effect with id effectID to the rect where.

note

To get an idea on how to add your own weather effects, you may read CryoniC's article about custom weather effects: http://www.wc3c.net/showthread.php?t=67949.

note

To understand more about weather effects nature, I advise to read Ammorth's article about weather effects: http://www.wc3c.net/showthread.php?t=91176.

return type
weathereffect
Source code
native AddWeatherEffect takes rect where, integer effectID returns weathereffect
Source
effects.j
wc3modding.com
AddWeatherEffect