Linden text version 2
{
LLEmbeddedItems version 1
{
count 0
}
Text length 583
//  RAKis - Rakis Heron lasst modify 02.26.2004
//  Copyright (c) 2003-2018 by RAK Internet Service
//
//Offset Position
//ex: < 0.0 , 0.0 , 1.0 > = 1 meter above the object (z axis)

vector offset = < -0.6, 0.0 , -0.1>;
//Degrees Rotation
//ex: < 0 , 0 , 45 > = +45 degrees on the z axis

vector deg = < 0 , 270 , 0 >;


//Pie Option Text
string text = "Sit";

default
{
    state_entry()
    {
        llSetSitText(text);
        deg *= DEG_TO_RAD; //convert to radians
        rotation quat = llEuler2Rot( deg ); //convert to quaternion
        llSitTarget(offset, quat); 
    }
}}
 