Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Triggering Teleport Via Script?

Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
10-11-2007 23:22
Am I right that the olny TP you can trigger via script is home?

trying to script a nice little TP shortcut hud, and the closest I can get is having the hud give me the landmark (which then clutters inventory)

any other solutions out there?

EDIT:
can't send links to chat from objects.... ll dialog maybe
Possible work-around....
get landmark info via llRequestInventoryData, in the dataserver event convert info to secondlife://region/x/y/z... send to load url?

next question... how do I translate <-16455.800049, -137.790009, 409.720001> into a valid address? I know it's the global... but how do I get region name from that for a chatted link?

oh and whatever you do... don't just put secondlife:// <huge coordinates> .... the viewer doesn't like it at all ::crash::


PS I have no idea where that is... I tweaked a link I had
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
10-12-2007 02:26
You can point the map to the correct location... *runs off to find more info*


... http://wiki.secondlife.com/wiki/LlMapDestination llMapDestination, thats the ticket!

... Short of creating a database of region names and region corners I cannot see how to approach the issue of finding the region name from global coordinates. My own database of land data might have region corner and certainly has region name, however it's only about 2,010 regions and I'm not about to try and add all the rest.
_____________________
www.nandnerd.info
http://ordinalmalaprop.com/forum - Ordinal Malaprop's Scripting Forum
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
10-12-2007 04:01
RANT: I thought they were instituting those nice new LM's... with a region ID and region coordinates?
/rant

thanks Nand =)