Difference between revisions of "LlReleaseControls"

From Second Life Wiki
Jump to navigation Jump to search
 
(9 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
|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
|helpers
|helpers
|also_functions=*{{LSLG|llTakeControls}}
|also_functions={{LSL DefineRow||{{LSLG|llTakeControls}}|}}
|also_events=*{{LSLG|control}}
|also_events={{LSL DefineRow||{{LSLG|control}}|}}
|also_articles
|also_articles
|also_tests
|also_tests
|notes
|notes
|permission=PERMISSION_TAKE_CONTROLS
|cat1=Controls
|negative_index
|cat1=Control
|cat2
|cat2
|cat3
|cat3
|cat4
|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();