You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.
This is an old revision of the document!
llTakeControls(integer controls, integer accept, integer pass_on)
Enables the user to use certain control keys or mouse button presses for interacting with a script.
Requires PERMISSION_CONTROL permissions.
A bit mask of CONTROL_* constants
Whether to generate control events for the specified controls. TRUE = generate them; FALSE = don't generate them.
Whether the specified controls should still perform their normal functions (e.g. if CONTROL_FWD is among the controls to take, whether it still moves the avatar forward). TRUE = perform their normal functions too; FALSE = don't perform their normal functions. Note that a value of TRUE is not honoured for CONTROL_ML_LBUTTON
pass_on
is TRUE, when CONTROL_ML_LBUTTON is in the controls, mouse clicks are blocked while in mouselook (SVC-4973, SVC-7532, declared as expected behaviour).lltakecontrols(1, 2); // will do xxx
default { state_entry() { lltakecontrols(1, 2); } }
llFunction
does such and such