Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Teleport with lldialog

Vortex Saito
Quintzee Creator
Join date: 10 Sep 2004
Posts: 73
11-30-2004 05:29
Okay here is what I want to do :

I have a script that create a menu for teleport, did that with lldialog, this sends the floorname to another script on channel 42, but how can I let this script teleport me to that floor without interaction, like right clicking and choosing teleport. I want it to teleport right away.

I have seen it done, if I only could remember where

Thanks for any help :)
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
11-30-2004 07:15
Pretty sure you can't.

Teleport is a hack which uses sit target, so you actually have to sit on the object to be teleported, which requires you to right-click into the pie menu.

If someone does know how to do this programmatically, I (and probably a lot of other people) would be very interested.

You could try knocking the avatar around with a physical object, I suppose. I've seen that done, but I personally find it a pretty kludgy experience.
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper "Changing Realities: User Creation, Communication, and Innovation in Digital Worlds :

"User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
Ace Cassidy
Resident Bohemian
Join date: 5 Apr 2004
Posts: 1,228
11-30-2004 07:19
From: Vortex Saito
I have seen it done, if I only could remember where


Can't be done... I'm not sure what you saw, but its not possible a) initiate a dialog, b) adjust the sit target based on a response, and c) have the AV sit/unsit all in a single transaction.

If you initiated the dialog when the AV sits, the AV is already sitting at the previous sit target by the time the response is received. And you can't teleport without using the sit/unsit mechanic.

- Ace
_____________________
"Free your mind, and your ass will follow" - George Clinton
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
11-30-2004 13:49
Perhaps rather than a llDialog() menu, you can make the menu in the 3d world using several prims with different sit-targets.
Water Rogers
Registered User
Join date: 1 May 2003
Posts: 286
11-30-2004 14:00
From: Vortex Saito
... like right clicking and choosing teleport. I want it to teleport right away.

I have seen it done, if I only could remember where

Thanks for any help :)


Change the sit text to "Teleport". Then when you right click, you'll see "Teleport" in the pie menu. Then set the sit target of the object to where it is you'd like it to 'teleport' to (local axis of object). Set a camera eye offset around where you set the sit target (so you're teleporters see where they are going). Add a one second sleep timer, then add an Unsit function call.

[edit: sorry for the crosspost, ace]
--Water
_____________________
From: Philip Linden

For the more technically minded - the problem is actually NOT the asset server (or 'asshat' as you prefer to affectionately call it herein).
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
11-30-2004 23:34
You can fake it using "llPushObject()", but these days, calibrating a push is pretty tricky.
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
Green Fate
Social Conundrum
Join date: 5 Dec 2003
Posts: 79
12-01-2004 02:34
you have to wear something and that something takes you there when it hears the menu say "go floor13". WHOOSH!
_____________________
this is not a .sig
Kurt Zidane
Just Human
Join date: 1 Apr 2004
Posts: 636
12-01-2004 04:28
Ive seen the scripts your talkign about. it's not worth it. it's sim heavy in comparison to the sit teleport. Plus it has many flaws, limitations, and it's way too complicated. The sit teleporter can go through walls, can go any where in the sim. dose not requires lots of primtives. Or a clean line of site path.