Jump to content

How can i get the avatar position or rot?


Wang Novelli
 Share

You are about to reply to a thread that has been inactive for 2354 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hello Rolig, thank you, the script works but don't show my avatar position, simply when I sit on the object tell me "Sit target saved", "Sit target will be removed in 30 seconds" when I stand up, and after 30 sec "Sit target erased" without any opportunity to interact to get to know my avatar position. I have found a script (no modify) that on click gives me my avatar position, but instead the position e.g. <0.063290, -1.145020, 0.074630><86.522290, 0.688550, -178.405500> gives me <6.43895, 0.08335, 3.12402><-3.47993, 0.68811, -178.39830>. Thank you and still sorry for the disturb.

Link to comment
Share on other sites

change this line... ( copy paste etc )

llOwnerSay("Sit target saved.");

to this....

   llOwnerSay("Sit target saved.\nPOS: " + (string)gAvPos + "\nROT: " + (string)gAvRot); 

Edited by Xiija
  • Like 2
Link to comment
Share on other sites

20 hours ago, Xiija said:

change this line... ( copy paste etc )

llOwnerSay("Sit target saved.");

to this....

   llOwnerSay("Sit target saved.\nPOS: " + (string)gAvPos + "\nROT: " + (string)gAvRot); 

Thank you very much Xiija, now works perfectly! ^^ ♥ 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2354 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...