|
ninjafoo Ng
Just me :)
Join date: 11 Feb 2006
Posts: 713
|
05-15-2006 01:27
I have a prim (woo!), it contains 1 script and a few objects. How the do I get a list of the objects from the script?
Where is list contents = llGetInventory();
I am missing something?
_____________________
FooRoo : clothes,bdsm,cages,houses & scripts
QAvimator (Linux, MacOS X & Windows) : http://qavimator.org/
|
|
Frans Charming
You only need one Frans
Join date: 28 Jan 2005
Posts: 1,847
|
05-15-2006 02:44
You will have to do this. list invItems; integer length = llGetInventoryNumber(INVENTORY_ALL); integer x; for (x = 0; x < length; x++) { invItems += llGetInventoryName(INVENTORY_ALL, x); }
Edit:Thanks Eloise. 
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
05-15-2006 03:48
only make sure you spell length the same way between the two instances... that will throw an error thanks to the wandering T!
|