OK, I have a concern about that, and IMHO an issue. First the issue:
Using (int type, int number) like in llGetInventoryName() forces an duplicate search. I'll post the full explanation on mantis. Second, my concern: Description is a user-modifiable field. Actually, lot of scripters (including me) use it to pass additional values to scripts. So, this function is a really interesting workaround, but would not be 100% reliable to get landmark destination. (though I admit there is less chances to change desc of a landmark than other objects) -- http://www.speculoos.net/ secondlife://speculoos.net:8002/ Speculoos, the belgian cookie-flavored metaverse Le 13 mars 2012 à 01:08, M.E. Verhagen a écrit : > the description property. > > and the hypergrid adres is stored in the description, for instance > 'region-name @ speculoos.net:8002' > > > > > > > Op dinsdag 13 maart 2012 schreef Gudule Lapointe ([email protected]) het > volgende: > > The word "Desc" is ambiguous. Is it related to all object properties or to > > only the "description" property? > > Of course, description property does not help for the landmark > > -- > > http://www.speculoos.net/ > > secondlife://speculoos.net:8002/ > > Speculoos, the belgian cookie-flavored metaverse > > Le 12 mars 2012 à 23:46, M.E. Verhagen a écrit : > > > > yes a function to get the description of an object in the inventory of prim. > > > > i looked into it and it was suprisingly easy to do, since there is already > > a function to get the name. > > > > http://opensimulator.org/mantis/view.php?id=5927 > > > > > > > > Op maandag 12 maart 2012 schreef Justin Clark-Casey > > ([email protected]) het volgende: > >> There does seem to be no function to do this (it looks like it's done in > >> SL by roundabout web queries). > >> > >> It would be interesting to have something like an > >> osRequestInventoryData(string name, list rules) where rules contains some > >> constant like LANDMARK_REGION_NAME. > >> > >> On 10/03/12 21:39, Gudule Lapointe wrote: > >>> > >>> That is interesting, but not enough…. > >>> > >>> But the only thing I get seems to be the global (wold coordinate) > >>> position of the object: > >>> like<256128.1, 256127.4, 27.73114> > >>> > >>> Not even the region name, and in case of HG landmark, no indication on > >>> the grid url > >>> > >>> > >>> > >>> -- > >>> http://www.speculoos.net/ > >>> secondlife://speculoos.net:8002/ > >>> Speculoos, the belgian cookie-flavored metaverse > >>> > >>> Le 10 mars 2012 à 22:13, M.E. Verhagen a écrit : > >>> > >>>> the following lsl function can be used to extract some data out of > >>>> landmaks: > >>>> http://wiki.secondlife.com/wiki/LlRequestInventoryData > >>>> > >>>> Op zaterdag 10 maart 2012 schreef Gudule Lapointe ([email protected] > >>>> <mailto:[email protected]>) het volgende: > >>>> > Is there a way to read the coordinates of a landmark from within a > >>>> > script? > >>>> > I made several flavors of blame gates and I would like to be able to > >>>> > drop a landmark in the prim instead of encoding > >>>> the uri > >>>> > > >>>> > > >>>> > > >>>> > -- > >>>> > http://www.speculoos.net/ > >>>> > secondlife://speculoos.net:8002/ <http://speculoos.net:8002/> > >>>> > Speculoos, the belgian cookie-flavored metaverse > >>>> > > >>>> > >>>> -- > >>>> Groningen en Hannover Opensims: secondlife://meverhagen.nl:8002:Hannover > >>>> ZW/ > >>>> _______________________________________________ > >>>> Opensim-users mailing list > >>>> [email protected] <mailto:[email protected]> > >>>> https://lists.berlios.de/mailman/listinfo/opensim-users > >>> > >>> > >>> > >>> _______________________________________________ > >>> Opensim-users mailing list > >>> [email protected] > >>> https://lists.berlios.de/mailman/listinfo/opensim-users > >> > >> > >> -- > >> Justin Clark-Casey (justincc) > >> http://justincc.org/blog > >> http://twitter.com/justincc > >> _______________________________________________ > >> Opensim-users mailing list > >> [email protected] > >> https://lists.berlios.de/mailman/listinfo/opensim-users > >> > > > > -- > > Groningen en Hannover Opensims: secondlife://meverhagen.nl:8002:Hannover > > ZW/ > > __________________ > > > > -- > Groningen en Hannover Opensims: secondlife://meverhagen.nl:8002:Hannover > ZW/ > _______________________________________________ > Opensim-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/opensim-users
_______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users
