Agent and Avatar

The user’s presence in Opensim is represented by two entities: an agent and an avatar. An agent is a client’s presence within a simulator. All users connect to a sim as an agent. An agent is not an avatar, though it is represented on the client by one. An...

Chat

Chat functions allow objects and agents to communicate with each other and among themselves. Chat in Second Life uses channels. Channel 0 is the public chat channel all users see as chat text. There is no way for users to listen to any channel other than channel 0...

llAttachToAvatar

llAttachToAvatar(integer attachment) Attaches the scripted object at the specified attachment point to the avatar it has PERMISSION_ATTACH for. Even though users other than the owner can grant this permission, attaching to them will fail with the message “Script...

llAvatarOnSitTarget

key llAvatarOnSitTarget() If an avatar is sitting on the sit target, this function will return the avatar’s key; NULL_KEY otherwise. This will only detect avatars sitting on sit targets defined with llSitTarget. At some point prior to SL 1.6.5, it would...

llDetachFromAvatar

llDetachFromAvatar() Detaches the scripted object from the avatar it’s attached to. Requires PERMISSION_ATTACH (via llRequestPermissions). After detaching, the attach() event hander is called with the value NULL_KEY. Calling this function from a child-prim will...