Difference between revisions of "LlForceMouselook"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 4: Line 4:
|p1_type=integer
|p1_type=integer
|p1_name=mouselook
|p1_name=mouselook
|p1_desc=boolean, If [[TRUE]] any avatar that sits on tis forced into [[mouselook]] mode. [[FALSE]] undoes this setting.
|p1_desc=boolean, If [[TRUE]] any avatar that sits on it is forced into [[mouselook]] mode. [[FALSE]] undoes this setting.
|func_footnote=If '''mouselook''' is [[TRUE]] then when an avatar sits upon the prim, the avatar will be forced into [[mouselook]] mode.<br/>[[FALSE]] is the default state and will not change the agents camera mode.<br/>A [[llSitTarget|sit target]] is not necessary for this function to work.
|func_footnote=If '''mouselook''' is [[TRUE]] then when an avatar sits upon the prim, the avatar will be forced into [[mouselook]] mode.<br/>[[FALSE]] is the default state and will not change the agents camera mode.<br/>A [[llSitTarget|sit target]] is not necessary for this function to work.
|func_desc=Sets if a sitting avatar should be forced into [[mouselook]] when they sit on this prim.
|func_desc=Sets if a sitting avatar should be forced into [[mouselook]] when they sit on this prim.

Revision as of 17:32, 31 December 2007

Summary

Function: llForceMouselook( integer mouselook );

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.
All Issues ~ Search JIRA for related Bugs

Examples

Force Mouselook on Sit

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

See Also

Deep Notes

Search JIRA for related Issues

Signature

function void llForceMouselook( integer mouselook );