HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

event - drops item?

06-11-2005, 01:27 PM#1
Taur
I was wondering how do you detect when a unit drops an item unto another. like in weaddar's bag system and vex's invx system. I was also wondering if you can drop an item unto a unit (with an inventory, and such) even if it's an enemy or neutral unit, or if it has a ward classification or the locust ability
06-11-2005, 01:31 PM#2
Vexorian
It is actually an item targetted order, that uses special ids

The target item of issued order is the item you are dropping.

The orderid is 852001 + (Slot number) , by knowing the slot number you can figure out if there was an item on that slot.

There is were GUI loses again since you can't use integers as order ids in comparissions
06-11-2005, 01:32 PM#3
Taur
so it's JASS, I'm sorta okay with that, if yougive me the script, can I do it with WEU?