This chapter introduced some basic concepts that will be used by later chapters in this book. Very short scripts that introduced key concepts were presented. None of the scripts presented in this chapter would be very useful by themselves. However, they illustrate techniques that recipes in future chapters will use.

    In this chapter object communication was demonstrated. Objects can both talk and listen to avatars. Additionally, an object can send an instant message. However, it is impossible for an object to receive an instant message. Objects can neither receive instant messages from other objects nor avatars. Dialogs can also be presented to communicate with avatars.

    Objects can modify their appearance. There are many functions available to modify the appearance of an object. This chapter showed how to change the color of an object. Many of the recipes presented later in this book will change the appearance of an object in other ways.

    Sometimes an object should only function with the owner of that object or the group to which an object belongs. It is possible to compare the avatar that is trying to use the object to the owner of the object. If the avatar using the object does not match the owner, then the object will not allow itself to be used. The same check can be performed on groups.

    The Linden Scripting Language allows user functions to be created. The next chapter presents useful functions that may be useful in other scripts. Recipes presented later in this book will use some of these functions.


Copyright 2005 - 2010 by Heaton Research, Inc.. Heaton Research™ and Encog™ are trademarks of Heaton Research. Click here for copyright and trademark information.