Replies with the key of the object the user's avatar is currently sitting on.

Syntax

@getsitid=<channel>

Return value

A UUID string. 00000000-0000-0000-0000-000000000000 when the avatar isn't sitting on an object, including when it is sitting on the ground (@sitground).

Caveats

Examples

llOwnerSay("@getsitid=-81234");
// listen(): if ((key)msg) llOwnerSay("Sitting on " + llKey2Name((key)msg));

See also

Implementation notes

RRInterface.cpp 1845 replies with getSitTargetId(). It is set in LLVOAvatar::sitOnObject() for self (llvoavatar.cpp 8111-8117) and cleared in getOffObject() (8225-8230).

Client differences

No differences found between Marine's RLV and CoolVL (mkrlinterface.cpp 1836-1839).

Comparison with RLVa

No significant differences from RLVa's @getsitid.