Originally Posted by nailertn
Events aren't specific like that. You just register for a generic UNIT_INVENTORY_CHANGED and then do a refined check to see if it was what you were looking for. Usually additional arguments sent by the event dispatcher make the filtering easier.
Also I don't know what else is there for item slot changes but you could always /eventtrace and disable them one by one to find the event you are looking for.
|
thank you for the eventtrace option I had no idea about it its so damm awsome, just starting on Lua
I found what I wanted PLAYER_EQUIPMENT_CHANGED which passes the slot as argument