- Joined
- Feb 2, 2006
- Messages
- 1,630
Hi,
recently I've played around a bit with target orders and item events.
Currently I want to recognize when a hero gives an item to another hero.
What I could detect was when the hero drops an item and the other hero gets an item but these two events are seperate from each other.
No order event was triggered on giving the item from one hero to another.
How is this possible with JASS? I need this since I want to restrict some items ownership to the players and they should not be able to be picked up by an ally hero EXCEPT the hero gives the item to the allied hero explicitely.
recently I've played around a bit with target orders and item events.
Currently I want to recognize when a hero gives an item to another hero.
What I could detect was when the hero drops an item and the other hero gets an item but these two events are seperate from each other.
No order event was triggered on giving the item from one hero to another.
How is this possible with JASS? I need this since I want to restrict some items ownership to the players and they should not be able to be picked up by an ally hero EXCEPT the hero gives the item to the allied hero explicitely.