- Joined
- Sep 3, 2009
- Messages
- 458
We've all done it before.
You right-click on a potion on your inventory, hover your mouse to another hero, then left-click. Your character will then move close to the target hero to attempt to give them the potion.
I've been wondering if there was a way to detect when a unit starts attempting to give an item from it's inventory to another unit. The item hasn't been transferred yet (so no Unit Acquires/Loses Item happens).
I did some digging around if there was a specific order ID for it. I've only seen moveslot order IDs which only works when you transfer an item to a unit's own inventory.
You right-click on a potion on your inventory, hover your mouse to another hero, then left-click. Your character will then move close to the target hero to attempt to give them the potion.
I've been wondering if there was a way to detect when a unit starts attempting to give an item from it's inventory to another unit. The item hasn't been transferred yet (so no Unit Acquires/Loses Item happens).
I did some digging around if there was a specific order ID for it. I've only seen moveslot order IDs which only works when you transfer an item to a unit's own inventory.