Ah that is cool, apparently hg landmarks are saved :)<br><br>There seems to be no lsl function the get the description of an inventory object, so you can not get the hg adres out of the landmark. <br><br>You have to recalculate the global to local coordinates. You can do that with some script like this:<br>
<br>key requestid;<br>string name;<br>default<br>{<br>    state_entry()<br>    {<br>        //request the LM data<br>        name = llGetInventoryName(INVENTORY_LANDMARK, 0);<br>        requestid = llRequestInventoryData(name);<br>
    }<br>    dataserver(key id, string data)<br>    {<br>        if (id == requestid)<br>        {<br>            vector dest = (vector)data;<br>            float globalcoordx=dest.x;<br>            integer localx = (integer)globalcoordx/256;<br>
            float localcoordx = globalcoordx - (localx*256);<br>            float globalcoordy=dest.y;<br>            integer localy = (integer)globalcoordy/256;<br>            float localcoordy = globalcoordy - (localy*256);<br>
            llSay(0, "Teleport to " + name);<br>            llSay(0, "x coord " +(string) localcoordx);<br>            llSay(0, "y coord " +(string) localcoordy);<br>            llSay(0, "z coord " +(string) dest.z);<br>
<br>        }<br>    }<br>}<br><br><div class="gmail_quote">2012/3/11 Gudule Lapointe <span dir="ltr"><<a href="mailto:gudule@spekuloos.be">gudule@spekuloos.be</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hum. If I am in another grid, and try to add a landmark<div><span style="white-space:pre-wrap"> </span>- the landmark is created</div><div><span style="white-space:pre-wrap">        </span>- the landmark works when I use it from my grid</div>
<div><span style="white-space:pre-wrap">  </span>- it's name begins with "HG"…</div><div><br></div><div>Particularly last point confirms that not only there are HG landmarks, but also that OpenSim handle them by design.</div>
<div><br></div><div><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div class="im"><div>--</div><div><a href="http://www.speculoos.net/" target="_blank">http://www.speculoos.net/</a></div><div><a>secondlife://speculoos.net:8002/</a></div></div><div class="im"><div>Speculoos, the belgian cookie-flavored metaverse</div>
</div></div></span></div></span></div></span></div></span></div></span></span>
</div>
<br><div><div>Le 11 mars 2012 à 01:06, M.E. Verhagen a écrit :</div><br><blockquote type="cite"><div><div><div class="h5">there aren't hypergrid landmarks yet<br><br><br><br>2012/3/10, Miller, Peter <<a href="mailto:pmiller@liverpool.ac.uk" target="_blank">pmiller@liverpool.ac.uk</a>>:<br>
<blockquote type="cite">That wasn't the question you asked ;)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">
You could manually encode the extra info in the landmark name and retrieve<br></blockquote><blockquote type="cite">it using llGetInventoryName. Can't help beyond that.<br></blockquote><blockquote type="cite"><br></blockquote>
<blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Best wishes<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">
<br></blockquote><blockquote type="cite">Peter<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">________________________________<br>
</blockquote><blockquote type="cite">From: <a href="mailto:opensim-users-bounces@lists.berlios.de" target="_blank">opensim-users-bounces@lists.berlios.de</a><br></blockquote><blockquote type="cite">[<a href="mailto:opensim-users-bounces@lists.berlios.de" target="_blank">opensim-users-bounces@lists.berlios.de</a>] on behalf of Gudule Lapointe<br>
</blockquote><blockquote type="cite">[<a href="mailto:gudule@spekuloos.be" target="_blank">gudule@spekuloos.be</a>]<br></blockquote><blockquote type="cite">Sent: 10 March 2012 18:57<br></blockquote><blockquote type="cite">
To: <a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.berlios.de</a><br></blockquote><blockquote type="cite">Subject: [Opensim-users] Fucntion to read a landmark<br></blockquote><blockquote type="cite">
<br></blockquote><blockquote type="cite">Is there a way to read the coordinates of a landmark from within a script?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I made several flavors of blame gates and I would like to be able to drop a<br>
</blockquote><blockquote type="cite">landmark in the prim instead of encoding the uri<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote>
<blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite"><a href="http://www.speculoos.net/" target="_blank">http://www.speculoos.net/</a><br></blockquote><blockquote type="cite">
<a>secondlife://speculoos.net:8002/<https://owa.liv.ac.uk/owa/UrlBlockedError.aspx></a><br></blockquote><blockquote type="cite">Speculoos, the belgian cookie-flavored metaverse<br></blockquote><blockquote type="cite">
<br></blockquote><blockquote type="cite"><br></blockquote><br><br>-- <br>Groningen en Hannover Opensims:   <a>secondlife://meverhagen.nl:8002:Hannover</a><br>ZW/<br></div></div><div class="im">_______________________________________________<br>
Opensim-users mailing list<br><a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br><a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</div></div></blockquote></div><br></div></div><br>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Groningen en Hannover Opensims:  
<span style="color:rgb(50,61,86);font-family:'Trebuchet MS',Helvetia,Tahoma,Verdana,Arial,sans-serif;font-size:16px;text-align:left;background-color:rgb(255,255,255)">secondlife://meverhagen.nl:8002:Hannover ZW/ </span><br>