• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[General] "Unit WANTS to drop an item" Detection

Status
Not open for further replies.
Hello again :D

It's the order "dropitem".
Seems like it isn't registered as a point order though (nor as any other order).
Weird, as most orders are registered in one of those categories :p Maybe there's an order category I'm missing, going to check the files real quickly.

Well, if it's a rather specific case you could use a periodic timer and check whether a unit has that order or not.
If you need to loop through a couple dozen of units, then that wouldn't be really efficient (though I'm just going to assume you can narrow it down to units with an inventory).
 
Status
Not open for further replies.
Top