XbabylonX Posted March 6, 2013 Share Posted March 6, 2013 Hello,is it possible to get a prim's coordinates by clicking on it?Thank you. Link to comment Share on other sites More sharing options...
Amethyst Jetaime Posted March 6, 2013 Share Posted March 6, 2013 If you mean the location coordinates, yes. Right Click, go to Edit>Object and then look at the numbers in the Position x y and z boxes. Those are the location coordinates. Link to comment Share on other sites More sharing options...
XbabylonX Posted March 6, 2013 Author Share Posted March 6, 2013 I mean its x,y,z on the map Thank you Link to comment Share on other sites More sharing options...
Alicia Sautereau Posted March 6, 2013 Share Posted March 6, 2013 // http://wiki.secondlife.com/wiki/LlGetPosvector pos;integer x;integer y;integer z;default{ touch_start(integer q) { pos = llGetPos(); llSay(0, (string)pos.x +" "+ (string)pos.y +" "+ (string)pos.x); }} This will allow you to play with the pos.* variables where you see fit Link to comment Share on other sites More sharing options...
XbabylonX Posted March 6, 2013 Author Share Posted March 6, 2013 Ok just realized its the same So, is there a code snippet for taking these numbers? Link to comment Share on other sites More sharing options...
XbabylonX Posted March 6, 2013 Author Share Posted March 6, 2013 Thank you both :matte-motes-big-grin-squint: Link to comment Share on other sites More sharing options...
XbabylonX Posted March 6, 2013 Author Share Posted March 6, 2013 Just a small correction llSay(0, (string)pos.x +" "+ (string)pos.y +" "+ (string)pos.x) The blue bolded supposed to be z Link to comment Share on other sites More sharing options...
Alicia Sautereau Posted March 6, 2013 Share Posted March 6, 2013 Oops, my bad,did it inbetween helping some one Link to comment Share on other sites More sharing options...
Recommended Posts
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