This will allow you to create a simple pose stand by dropping this script into any prim - right clicking and sitting on it. Either change the name of the animation you wish to use in the script or simply renmae the one you put into the prim "at180" - Sorry this is a bit spaced out, but I figure that's better than squished and hard to read. I'll get this particular forum figured out real soon ;)
Let me know if you need any help with this or find any bugs. Take care!
Haplo Voss
------------------------------------------------------------------------------------------------------
key user=NULL_KEY;
default
{
state_entry()
{
llSitTarget(<0,0,1.5>,ZERO_ROTATION);
llSetSitText("Stand");
}
changed(integer change)
{
if(change & CHANGED_LINK)
{
key av=llAvatarOnSitTarget();
if(av!=NULL_KEY)
{
user=av;
llRequestPermissions(av,PERMISSION_TRIGGER_ANIMATION);
}
else
{
if(user!=NULL_KEY)
{
llStopAnimation("at180");
user=NULL_KEY;
}
}
}
}
run_time_permissions(integer perm)
{
if(perm & PERMISSION_TRIGGER_ANIMATION)
{
llStopAnimation("sit");
llStartAnimation("at180");
}
}
}
// End of Script -------------------------