• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How to check if an item got dropped in a certain region?

Status
Not open for further replies.
It's German. The event is "a unit loses an item" then he checks if the item is in a region.

I'm not sure if the item even has a position yet when that event fires. Maybe just check if the (Triggering unit) is in that region since the drop radius is usually pretty small.

If that is true, he can try and get "Hero manipulating item" position instead.
 
Not sure if this will work.

Can you get the order ID of the drop items. I think there would only be 6 different order IDs for each slot. You can then check if the order is within the region.
 
I am pretty sure I have a trigger that does exactly this in my own map. I can't check right now, but I will try to find it to answer this.

I haven't looked at the trigger in a long time (since it works), but basically, there is a small spot to drop this one item. When you drop it there, it transforms into another item. I assume this is similar to what you want to do (at least the event is).

Anyway, it won't be until around 6 or 7 hours from now that I get back to you on this :/ I am at work lol.
 
Status
Not open for further replies.
Back
Top