CHAPTER 8
CHAPTER 8
INVENTORY
Much as avatars collect, use, and manage sets of things in their inventory, objects themselves have an inventory that
can be manipulated manually by the owner or via script control. Of course, you have been using inventory all along
in this book: scripts can run only when they are in the inventory (or Contents folder) of an object that is either
rezzed in-world or attached to an avatar. Scripts have also accessed items in inventory, mainly to hold the assets that
your scripts need to do their job, such as animations for your avatar in Chapter 2, "Making Your Avatar Stand Up
and Stand Out," or prims to rez in Chapter 4, "Making and Moving Objects." This chapter focuses on the process of
handling inventory, including transfers and permissions.

Get Scripting Your World: The Official Guide to Second Life® Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.