Difference between revisions of "LlReleaseControls"

From Second Life Wiki
Jump to navigation Jump to search
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{LSLFunctionAll|func_id=112|func_sleep=0.0|func_energy=10.0|func=llReleaseControls|func_footnote=Stop taking inputs|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|func_id=112|func_sleep=0.0|func_energy=10.0
|sort=ReleaseControls|func=llReleaseControls
|func_footnote
|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
|spec
|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
|examples
|helpers
|also_functions={{LSL DefineRow||{{LSLG|llTakeControls}}|}}
|also_events={{LSL DefineRow||{{LSLG|control}}|}}
|also_articles
|also_tests
|notes
|cat1=Controls
|cat2
|cat3
|cat4
}}

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