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

[JASS] Problem with weather effect

Status
Not open for further replies.
Level 3
Joined
Aug 19, 2005
Messages
47
Hello,
I have this code, but it doesn't create the special effect as I want it to.

JASS:
    local unit c = GetTriggerUnit()
    local weathereffect e = AddWeatherEffect( Rect(GetUnitX(c)-300.,GetUnitY(c)-300.,GetUnitX(c)+300.,GetUnitY(c)+300.), 'MEds' )
    call PingMinimap(GetUnitX(c),GetUnitY(c),2.0)

The ping is OK.

Thanks for help
 
Status
Not open for further replies.
Top