Pam Copperfield
Registered User
Join date: 17 Oct 2009
Posts: 13
|
12-30-2009 10:28
....to teleport using a verbal command? Maybe like wear a hud or an attachment that has a list of favorite places that I teleport to frequently. I was watching Star Track and that's when the idea struck me when they say "engage" they teleport to a specific destination.
I would say TP to Ahern-engage.
I know it's easier just to click and TP but was mainly wondering if it can be done verbally.
|
Indeterminate Schism
Registered User
Join date: 24 May 2008
Posts: 236
|
12-30-2009 10:42
"sort of", as with most things.
For contiguous areas, including cross-sim your script can use warpPos activated by voice. For discrete sims this will not work as you'll need to do a 'proper' teleport. That means using llMapDestination() which will pop-open the SL map. You will then have to click the 'teleport' button there.
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
12-30-2009 10:42
Sure. Just a matter of using listens, parsing commands, maintaining destination data, and calling llMapDestination when requested via chat command.
It has to be in an attachment, though, or else has to be done by touch.
|
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
|
12-30-2009 10:43
Because teleport via script could be used to grief people there's no direct way.
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
12-30-2009 12:08
They probably should give it a permission..
PERMISSION_INITIATE_TELEPORT
Might not be useful for intrasim teleport objects/systems, but maybe for the llMapTeleport() function.
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
12-30-2009 13:34
It's already possible with RLV, of course; my collar holds all my favourite destinations and i just say izgoto my friend's house.. and whoosh. And no one can force-tp me unless I've already said they can.
|
Seven Okelli
last days of pompeii
Join date: 4 Dec 2008
Posts: 2,300
|
12-30-2009 13:53
The Emerald Viewer has a couple teleport commands that you can type into the chat window: From: Emerald Documentation, such as it is . gtp: allows you to TP to a specific set of coordinates within a region. example: gtp 118 132 26 (commas are not used to separate the coordinates as wth LSL coord TP tools)
gth: Type in, for example gth 300 and you will be teleported 300M into the air. Works at any height (I dare someone to try gth 17000 XD) (using this is handy for getting rid of particle followers and traps).
flr: teleports you to TERRAIN level (ignoring objects that might make up a floor).
tph: Teleports you to your home location.
mapto: tp to a specific region EG: mapto Help Island Public
|