llTakeControls
void llTakeControls(integer Controls, integer Accept, integer PassOn)Take controls from the agent the script has permissions for.
If (Accept == (Controls & input)), send input to the script. PassOn determines whether Controls also perform their normal functions.
Requires the PERMISSION_TAKE_CONTROLS permission to run.
Parameters
-
Controls(integer) - Bit-field of CONTROL_* flags.
-
Accept(integer) - Boolean, determines whether control events are generated.
-
PassOn(integer) - Boolean, determines whether controls are disabled.
Examples
Section titled “Examples”Add example usage here.
Add additional notes, caveats, or tips here.
See Also
Section titled “See Also”- Related pages can be linked here