LSL feature request. The described function does not exist. This article is a feature request.
Attempts to force avatar to sit on object.
void llSit( key avatar, key object );
Forced delay: 0.1 seconds. Energy: 10.0.
PERMISSION_TRIGGER_SIT to be granted, this permission is auto-granted when requested for an avatar wearing or sat upon the scripted object. Do not rely on the auto-grant feature of the permission, instead always make proper use of the run_time_permissions() event.object is not a valid object for an avatar to sit upon, such as an attachment (see SVC-6100), or if object is not in the current region (or near its edges).object does not have a sit target defined.default {
touch_start(integer x) {
if (llDetectedType(0) & AGENT)
llRequestPermissions(llDetectedKey(0), PERMISSION_TRIGGER_SIT);
}
run_time_permissions(integer perms) {
if (perms & PERMISSION_TRIGGER_SIT)
llSit(llGetPermissionsKey(), llGetKey()); // Make avatar sit on this object
}
}