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

Region help in WE

Status
Not open for further replies.
Level 2
Joined
May 11, 2007
Messages
24
Ok, so I've been doing some more work after a short break and trying to update my knowledge of JASS, and I can't figure out why this trigger doesn't work:

  • Mirris Guile
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Mirri's Guile
    • Actions
      • Region - Center Guile <gen> on (Position of (Triggering unit))
      • Unit - Add Trip to (Casting unit)
      • Unit - Set level of Trip for (Triggering unit) to (Level of Mirri's Guile for (Casting unit))
It's very simple, and the only part that doesn't work is the movement of the region, it stays where I put it. I know this, because I have a a followup trigger that removes Mirri's Guile if she moves from the region, and moving to the region and out of it removes the buff correctly.

So why won't my region center on her in the first place? I tried both triggering and casting units, Begins/finishes/effect of ability and nothing works.

Help please.
 
Status
Not open for further replies.
Top