Hi everyone!
The below instructions on how to script a "sit pose ball" were written by Caro. I am simply putting it in the forum so that it can more easily be discussed.
Do you know how to do a sit pose ball? First of all we need the script. This is the code information which says our avatar how to sit properly.
-You go to inventory window...Create...New script.
-Look for this new scrip into Scripts Folder and change name to "sit pose".
-Double click on it to open
-Erase whatever content and paste this:
default
{
state_entry()
{
llSitTarget(<0.23,0.10,0.4>, ZERO_ROTATION);
}
touch_start(integer total_number)
{
llSay(0, "Right click me and choose 'Sit Here' to sit down");
}
}
-Click on Save and close script window.
Now we are going to make the pose ball...
-Click in Build button in SL screen or Right click in the ground in a place you are allowed to build. That opens the Edit window.
-Select Sphere clicking in the sphere icon and apply the magic wand in the ground to rezz a sphere.
-In General tab give the name "sit pose ball".
-In Object tab change size to X=1000, Y=1000, Z=1000.
-In Content tab put the "sit pose" script grabbing and drop from inventory.
-With the arrow of position move the pose ball over a chair or whatever you want to.
-Right click on Sphere and choose "sit here".
-Holding Ctrl key will appear rotation lines to place avatar properly.
-Stand up.
-Change size again to X=50, Y=50 and Z=50.
-That's all.