Difference between revisions of "LlAvatarOnSitTarget"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function|func_id=239|func_sleep=0.0|func_energy=10.0
{{LSL_Function|func_id=239|func_sleep=0.0|func_energy=10.0
|func=llAvatarOnSitTarget
|func=llAvatarOnSitTarget
|sort=
|sort=AvatarOnSitTarget
|return_type=key
|return_type=key
|return_text=that is the key of the user seated on the prim.
|return_text=that is the key of the user seated on the prim.

Revision as of 05:21, 28 January 2007

Summary

Function: key llAvatarOnSitTarget( );
0.0 Forced Delay
10.0 Energy

Returns a key that is the key of the user seated on the prim.

If the prim lacks a sit target or there is no avatar sitting on the prim, then NULL_KEY is returned.

Caveats

If the prim lacks a sit target or the avatar is seated upon a different prim, the only way to determin how many and which avatars are seated upon the object is to scan the link set.

Examples

Deep Notes

Signature

function key llAvatarOnSitTarget();