Difference between revisions of "LlAvatarOnSitTarget"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=239|func_sleep=0.0|func_energy=10.0|func=llAvatarOnSitTarget|return_type=key|func_footnote=If an avatar is sitting on the sit target, return the avatars key, NULL_KEY otherwise|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function|func_id=239|func_sleep=0.0|func_energy=10.0
|func=llAvatarOnSitTarget
|sort=
|return_type=key
|return_text=that is the key of the user seated on the prim.
|func_footnote=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.
|spec
|examples
|helpers
|related
|also
|notes
}}[[Category:LSL_Avatar]][[Category:LSL_Stub]]

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();