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

[Solved] Detecting when an item is used within a region

Status
Not open for further replies.
Level 2
Joined
Jun 19, 2011
Messages
12
I'm having trouble figuring out how to detect when an item is used within a specific region. Can anyone help?
 
Level 13
Joined
Oct 25, 2009
Messages
995
use this
  • Detect
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • Set Region = Region 000 <gen>
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Region contains (Hero manipulating item)) Equal to True
        • Then - Actions
          • Cinematic - Ping minimap for (All players) at (Position of (Hero manipulating item)) for 1.00 seconds
        • Else - Actions
 
Level 2
Joined
Jun 19, 2011
Messages
12
Thanks guys! I had a lot of trouble finding a "region contains" condition, cause I forgot to use the boolean condition. Silly me! I gave +rep to both of you =)
 
Status
Not open for further replies.
Top