Difference between revisions of "User:PixelProphet Lane/Scripts/Fast List Prim Contents"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
A script which can display Object Inventory already exists, but it's a rather slow and inefficient implementation. | A script which can display Object Inventory already exists, but it's a rather slow and inefficient implementation. | ||
This script loops through the Object Inventory of the Prim you add it to, and displays Itemname, Itemtype and next Owner permissions in chat by means of Owner message. | This script loops through the Object Inventory of the Prim you add it to, and displays Itemname, Itemtype and next Owner permissions in chat by means of Owner message. | ||
It's easier and much faster to loop through the Inventory Item types, store the current type in a variable, and then loop through each item that is an item of our currently stored type. This way you don't need to fetch the Inventory Item type for each item you find. | |||
<lsl> | <lsl> |
Revision as of 11:34, 2 April 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |