Difference between revisions of "LlSitTarget"

From Second Life Wiki
Jump to navigation Jump to search
m (LSL llSitTarget moved to LlSitTarget: removing prefix)
Line 11: Line 11:
|caveats
|caveats
|constants
|constants
|examples
|examples=
<pre>
default
{
    state_entry()
    {
        llSitTarget(<0,0,0.1>,ZERO_ROTATION); //Vector values must not all be set to 0 for effect to take place.
    }
}
 
</pre>
|helpers
|helpers
|also_functions=*{{LSLG|llSetSitText}}
|also_functions=*{{LSLG|llSetSitText}}

Revision as of 01:37, 26 February 2007

Summary

Function: llSitTarget( vector offset, rotation rot );

Set the sit location for this object (if offset == <0.0, 0.0, 0.0> clear it)

• vector offset
• rotation rot

Examples

default
{
    state_entry()
    {
        llSitTarget(<0,0,0.1>,ZERO_ROTATION); //Vector values must not all be set to 0 for effect to take place.
    }
}

See Also

Deep Notes

Search JIRA for related Issues

Signature

function void llSitTarget( vector offset, rotation rot );