Difference between revisions of "LlReleaseControls"

From Second Life Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|sort=ReleaseControls|func=llReleaseControls
 
|sort=ReleaseControls|func=llReleaseControls
 
|func_footnote
 
|func_footnote
|func_desc=Stop taking inputs (that were taken with [[llTakeControls]])
+
|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
Line 15: Line 16:
 
|also_tests
 
|also_tests
 
|notes
 
|notes
|permission=PERMISSION_TAKE_CONTROLS
 
|negative_index
 
 
|cat1=Controls
 
|cat1=Controls
 
|cat2
 
|cat2

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