atyid Posted May 5 Share Posted May 5 Hi! I want to make a toucher with different animations, depending if your avatar is sitting or standing. Everything I search leads to scripting sits for furniture. Where should I be looking? Link to comment Share on other sites More sharing options...
0 Fluffy Sharkfin Posted May 5 Share Posted May 5 48 minutes ago, atyid said: Hi! I want to make a toucher with different animations, depending if your avatar is sitting or standing. Everything I search leads to scripting sits for furniture. Where should I be looking? Obviously you'll need to use llStartAnimation (and other related commands for requesting/checking permissions, etc.) but in addition you should also take a look at llGetAgentInfo and specifically AGENT_ON_OBJECT which you can use to detect whether or not an avatar is seated or standing. 1 Link to comment Share on other sites More sharing options...
0 Lucia Nightfire Posted May 6 Share Posted May 6 17 hours ago, Fluffy Sharkfin said: Obviously you'll need to use llStartAnimation (and other related commands for requesting/checking permissions, etc.) but in addition you should also take a look at llGetAgentInfo and specifically AGENT_ON_OBJECT which you can use to detect whether or not an avatar is seated or standing. AGENT_SITTING would be better as it also includes if the target is sitting on the ground. 2 Link to comment Share on other sites More sharing options...
0 Quistess Alpha Posted May 6 Share Posted May 6 (edited) just for sake of completion, llGetObjectDetails(id,[OBJECT_ROOT]); can be used to determine if an avatar is sitting on something as well. (but doesn't detect ground sits obviously) Edited May 6 by Quistess Alpha Link to comment Share on other sites More sharing options...
Question
atyid
Hi! I want to make a toucher with different animations, depending if your avatar is sitting or standing.
Everything I search leads to scripting sits for furniture. Where should I be looking?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now