Sets if a sitting avatar should be forced into mouselook when they sit on this prim.

Syntax

void llForceMouselook( integer mouselook );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

integer mouselook (boolean)
boolean, if TRUE when an avatar sits on the prim, the avatar will be forced into mouselook mode, if FALSE (default) the avatar will keep their current camera mode.

A sit target is not necessary for this function to work.

Caveats

Examples

Force Mouselook on Sit

default
{
    state_entry()
    {
        llForceMouselook(TRUE); // Forces sitting avatars into mouselook.

        llForceMouselook(FALSE); // Reverts the setting to the default...
                                 // ...as with a newly created prim.
    }
}

See also

Functions

Deep notes

Tests