Difference between revisions of "LlReleaseControls"

From Second Life Wiki
Jump to: navigation, search
m (removing deprecated flags)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LSL_Function/permission|PERMISSION_TAKE_CONTROLS}}{{LSL_Function
+
{{LSL_Function
 
|func_id=112|func_sleep=0.0|func_energy=10.0
 
|func_id=112|func_sleep=0.0|func_energy=10.0
 
|sort=ReleaseControls|func=llReleaseControls
 
|sort=ReleaseControls|func=llReleaseControls
 
|func_footnote
 
|func_footnote
|func_desc=Stop taking inputs (that were taken with [[llTakeControls]]), dequeues any remaining [[control]] events.
+
|func_desc=Stop taking inputs (that were taken with [[llTakeControls]]), dequeues any remaining [[control]] events. If [[PERMISSION_TAKE_CONTROLS]] was previously granted, it will be revoked.
 
|return_text
 
|return_text
 
|spec
 
|spec
|caveats
+
|caveats=
 +
* In some cases, calling llReleaseControls() in one script can affect the controls of other script which has also captured the same control bit on the same agent.
 
|constants
 
|constants
 
|examples
 
|examples

Latest revision as of 12:45, 12 April 2012

Summary

Function: llReleaseControls( );

Stop taking inputs (that were taken with llTakeControls), dequeues any remaining control events. If PERMISSION_TAKE_CONTROLS was previously granted, it will be revoked.

Caveats

  • In some cases, calling llReleaseControls() in one script can affect the controls of other script which has also captured the same control bit on the same agent.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Events

•  control

Functions

•  llTakeControls

Deep Notes

Search JIRA for related Issues

Signature

function void llReleaseControls();