llForceMouselook

From Second Life Wiki
Revision as of 14:08, 18 January 2008 by Gally Young (talk | contribs) (multi lang)
Jump to navigation Jump to search

Summary

Function: llForceMouselook( integer mouselook );
0.0 Forced Delay
10.0 Energy

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

• integer mouselook boolean, If TRUE any avatar that sits on it is forced into mouselook mode. FALSE undoes this setting.

If mouselook is TRUE then when an avatar sits upon the prim, the avatar will be forced into mouselook mode.
FALSE is the default state and will not change the agents camera mode.
A sit target is not necessary for this function to work.

Caveats

  • This function has no effect on avatars already seated.
  • The user may exit mouselook mode at any time.

Examples

Force Mouselook on Sit

default
{
    state_entry()
    {
        llForceMouselook(TRUE);
    }
}

See Also

Deep Notes

Signature

function void llForceMouselook( integer mouselook );