SpasMaster
Hosted Project: SC
- Joined
- Jan 29, 2010
- Messages
- 1,994
Hello guys! Does anyone have an idea how to detect the event where a unit is ordered to give an item to another unit? I am not asking for the moment when the item is given, but for the moment when the unit is ordered to give it, because if the unit is far away from the target, the order is given much earlier than the actual giving.
I have a unit on the map that has inventory (which is used for trigger purposes), so I basically want to interrupt any hero from giving items to that specific unit by ordering him to stop. Question is, how do I detect when the hero is ordered to give the item?
Thanks!
I have a unit on the map that has inventory (which is used for trigger purposes), so I basically want to interrupt any hero from giving items to that specific unit by ordering him to stop. Question is, how do I detect when the hero is ordered to give the item?
Thanks!