Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Getting name of last notecard dropped in inventory

Epilort Byrne
Registered User
Join date: 6 Jul 2004
Posts: 30
06-20-2007 09:01
Hi. I am trying to get the name of the last notecard dropped in an object's inventory. It seems that notecard numbers are alphabetical and not according to the order they were dropped. Is there a better way to get the last notecard's name than by comparing lists of notecard names and seeing which one is new?

Thanks,
Epilort Byrne
Ged Larsen
thwarted by quaternions
Join date: 4 Dec 2006
Posts: 294
06-20-2007 09:13
Sorry, you're going to need to keep a list of "previously seen" inventory items, and compare against the list whenever you detect a changed_inventory.
_____________________
- LoopRez, flexi prim skirt generating tool
- LinkRez, a necklace chain generator