Difference between revisions of "LlSitTarget"

From Second Life Wiki
Jump to navigation Jump to search
Line 17: Line 17:
     state_entry()
     state_entry()
     {
     {
         llSitTarget(<0,0,0.1>,ZERO_ROTATION); //Vector values must not all be set to 0 for effect to take place.
         llSitTarget(<0.0, 0.0, 1.0>, ZERO_ROTATION); //The vector's components must not all be set to 0 for effect to take place.
     }
     }
}
}
</pre>
</pre>
|helpers
|helpers
|also_functions=*{{LSLG|llSetSitText}}
|also_functions={{LSL DefineRow||{{LSLG|llSetSitText}}|}}
*{{LSLG|llAvatarOnSitTarget}}
{{LSL DefineRow||{{LSLG|llAvatarOnSitTarget}}|}}
|also_events=*{{LSLG|changed}}
{{LSL DefineRow||{{LSLG|llUnSit}}|}}
|also_events={{LSL DefineRow||{{LSLG|changed}}|}}
|also_articles
|also_articles
|notes
|notes
Line 31: Line 31:
|negative_index
|negative_index
|cat1=Sit
|cat1=Sit
|cat2
|cat2=Vehicle
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 01:54, 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.0, 1.0>, ZERO_ROTATION); //The vector's components must not all be set to 0 for effect to take place.
    }
}

See Also

Events

•  changed

Functions

•  llSetSitText
•  llAvatarOnSitTarget
•  llUnSit

Deep Notes

Search JIRA for related Issues

Signature

function void llSitTarget( vector offset, rotation rot );