Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Inventory_all

Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
01-18-2004 22:28
This is a small request, but it would cut down on so much overhead in some places.

Could we get a new constant INVENTORY_ALL, that when used with appropriate functions would return ALL the inventory in the object? Sometimes it is good to get x item of notecards or scripts, but sometimes I just want to go through them all. Especially when I don't know ahead of time WHAT item it is I'm looking for.
_____________________
--
010000010110110101100001001000000100111101101101011001010110011101100001
--
Lance LeFay
is a Thug
Join date: 1 May 2003
Posts: 1,488
01-22-2004 08:55
INVENTORY_SCRIPT|INVENTORY_CLOTHES|INVENTORY_OBJECT|INVENTORY_YOU_GET_THE_IDEA ;)
_____________________
"Hoochie Hair is high on my list" - Andrew Linden
"Adorable is 'they pay me to say you are cute'" -Barnesworth Anubis
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
01-22-2004 09:14
From: someone
Originally posted by Lance LeFay
INVENTORY_SCRIPT|INVENTORY_CLOTHES|INVENTORY_OBJECT|INVENTORY_YOU_GET_THE_IDEA ;)
If only, if only. They are not bit flags I am afraid. They are numbers: 0,1,3,5,6,7,10,13 (I think! off the top of my head), which are definatly not bit flags.
_____________________
--
010000010110110101100001001000000100111101101101011001010110011101100001
--
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
01-22-2004 16:40
From: someone
Originally posted by Lance LeFay
INVENTORY_SCRIPT|INVENTORY_CLOTHES|INVENTORY_OBJECT|INVENTORY_YOU_GET_THE_IDEA ;)


*Buzzer is heard in the background*


Hehe :D

Lance, what Ama said is true, plus... even if they were bit fields, you could just use -1 to specify all of them :p

==Chris