FYI, I know NOTHING about scripts... most of this stuff I copied from a totorial. It works great for what I want except it didnt tell me how to stop it so the person can stand up again...
Total Beyond totally BIG thanks to anyone who can help me.
list seat = ["KneeUp","SitUp","sleep"];
string seat_chosen;
key avatar;
default
{
state_entry()
{
}
touch_start(integer total_number)
{
avatar = llDetectedKey(0);
llDialog(avatar,
"choose a seat",
seat,
11);
llListen(11,"",NULL_KEY,""
;}
listen(integer channel,
string name,
key id,
string message)
{
seat_chosen = message;
llRequestPermissions(avatar,
PERMISSION_TRIGGER_ANIMATION);
}
run_time_permissions( integer perm )
{
if(PERMISSION_TRIGGER_ANIMATION & perm)
{
llStartAnimation(seat_chosen);
}
}
}