With the help of a friend, we came up with this script. You can modify it to hide the llSetText later if you like.
All you have to do, is create an small sphere, put the script and the animation in it. Ajust the llSitTarget so the height and everything is good, and there you go.
*Hint* to use this on furnature, put the script and the animation in the linked part of the furnature you want the AV to sit or lay on...there is no need to create a pose ball.
CODE
default
{
state_entry()
{
llSitTarget(<0,0,.6>, ZERO_ROTATION);
llSetText("Sit Here",<1,1,1>,1);
}
changed(integer change)
{
if (change & CHANGED_LINK)
{
if (llAvatarOnSitTarget() != NULL_KEY)
{
llRequestPermissions(llAvatarOnSitTarget(), PERMISSION_TRIGGER_ANIMATION);
}
}
}
run_time_permissions(integer perm)
{
if (perm & PERMISSION_TRIGGER_ANIMATION)
{
llStopAnimation("sit");
string animation=llGetInventoryName(INVENTORY_ANIMATION,0 );
llStartAnimation(animation);
}
}
}