|
Macro Voss
Registered User
Join date: 23 Jul 2007
Posts: 20
|
07-30-2007 20:21
Does anyone know how I can access the item that was dropped in the inventory that triggered the change event? I know how to access the last item in the list but the list is ordered alphabetically, not chronologically.
|
|
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
|
07-31-2007 00:12
If you only have a few items in the inventory use a list and compare its contents to another list that you generate on inventory change.
This should allow you to detect if an item was added or removed.
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
07-31-2007 14:57
This  from the Library may possibly be relevant.
|
|
Macro Voss
Registered User
Join date: 23 Jul 2007
Posts: 20
|
07-31-2007 16:13
Excellent! Thanx a lot for the info fellas. Would be cool if there was a built-in function that could just tell you the item that triggered the change event. I'm sure a lot of people would find use in that.
|