LlReleaseControls

From Second Life Wiki

(Redirected from LSL llReleaseControls)
Jump to: navigation, search

Contents

Description

Function: llReleaseControls( );
112 Function ID
0.0 Delay
10.0 Energy

Stop taking inputs (that were taken with llTakeControls), dequeues any remaining control events.


Requires the PERMISSION_TAKE_CONTROLS permission to run.

Caveats

  • Do not depend upon the auto-grant status of permissions. Always use the run_time_permissions event.
  • If the script lacks the permission PERMISSION_TAKE_CONTROLS, the script will shout an error on DEBUG_CHANNEL and the operation fails (but the script continues to run).
  • Once the PERMISSION_TAKE_CONTROLS permission is granted there is no way to revoke it. The script will only loose the permission if it is reset or the object derezzed (deleted, detached, or taken).

Examples

See Also

Events

•  run_time_permissions Permission receiving event
•  control

Functions

•  llGetPermissions Get the permissions granted
•  llGetPermissionsKey Get the agent who granted permissions
•  llRequestPermissions Request permissions
•  llTakeControls

Articles

•  Script permissions
Personal tools