| 07-20-2006, 03:04 PM | #1 |
I really don't feel like diging through my old scripts trying to figure out how to detect an event where a unit is given an item by another unit and then referencing the receiving unit, so if anyone would be so kind as to refresh my memory, I would be most grateful |
| 07-20-2006, 03:13 PM | #2 |
JASS:constant playerunitevent EVENT_PLAYER_UNIT_DROP_ITEM = ConvertPlayerUnitEvent(48) constant playerunitevent EVENT_PLAYER_UNIT_PICKUP_ITEM = ConvertPlayerUnitEvent(49) constant playerunitevent EVENT_PLAYER_UNIT_USE_ITEM = ConvertPlayerUnitEvent(50) Those are the closest to what you asked for that I could find. There are also EVENT_UNIT_... forms of all three. |
| 07-20-2006, 06:15 PM | #3 |
Thanks but that isn't what I meant. You see, I need to get (reference) the unit that gave the item away (with whatever event is appropriate). Guess I'll have to go diging... |
