These forums are CLOSED. Please visit the new forums HERE
Walk on Teleporter? |
|
|
SkydiverColorado Calloway
Registered User
Join date: 13 Apr 2008
Posts: 6
|
06-26-2008 09:07
Hello, Just learning about scripting and trying to create some puzzles. I'm wondering if it is possible to create a teleporter that works by just walking on to it? I read somewhere in the forums about using the "Push" function to accomplish this. Can't find it now. I would like to create a teleport that would teleport someone about 70m away in same sim (part of the puzzle) just by walking on to it. Any help or suggestions would be appreciated.
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
06-26-2008 11:01
The most likely solutions are:
1.) Pushing: You could try pushes (if you own the parcels over which the pushes will be done, or if they are not push restricted) but they might be stopped by obstacles between the start and end if the push isn't strong enough, you'd have to worry about stopping them once they get there, etc. This would probably be considered a pretty rude implementation anyway, and you'd want to make it VERY obvious what is about to happen to avoid this turning into a form of harassment/assault griefing. 2.) "Cage"-like: A nicer physical movement possibility might be surrounding the teleporter with a physical object that will drag them along with it to the destination. This might give you a change to allow a way for the teleporter to stop/escape and might give a better opportunity to make what is about to happen more obvious. It still isn't a very "nice" option, so you'd have to be careful about how you deploy it. It will also suffer some of the technical issues of pushing, because your physical object might run into obstacles, etc. 3.) Give the target a landmark. They can choose to use it or not, and using it would take at least another click or two. 4.) Pop up the map with the destination using llMapDestination(). This will require that the teleporter wear an attachment, since no touches are involved, and they will still have to hit the "Teleport" button in the map window. You are really probably better off requiring some kind of click interface (e.g. set an object to the sit action on left-click). There are reasons standard teleporters do that, and without at least some minor enhancements from LL they remain good ones, both from a user interface point of view and a technical one. |
|
Vi Shenley
Still Rezzing
Join date: 24 Oct 2006
Posts: 103
|
06-26-2008 13:04
Hello, Just learning about scripting and trying to create some puzzles. I'm wondering if it is possible to create a teleporter that works by just walking on to it? I read somewhere in the forums about using the "Push" function to accomplish this. Can't find it now. I would like to create a teleport that would teleport someone about 70m away in same sim (part of the puzzle) just by walking on to it. Any help or suggestions would be appreciated. They have this in Suffugium. Teleport in, then fly up to rooftop level, look for the large yellow arrows painted on some of the flat rooves. If you walk onto one it will teleport you to the roof across the road (not a 'true' teleport of course, but I think it is what you are looking for). Vi *Edit* I have just been there. The yellow arrow is in fact the inner lower surface of an otherwise transparent large cube, so this is a collision event thing. The script inside is TCD Booster v.2.2 and the creator is Trep Cosmo. |
|
SkydiverColorado Calloway
Registered User
Join date: 13 Apr 2008
Posts: 6
|
06-27-2008 04:01
Thanks for your replies Hewee and Vi.
Vi, I went and had a look at Suffugium and tried out the yellow arrows. They do seem to push or catapult but not quite hard enough. Thanks for the script info. Hewee, thanks for listing all of the possibilities. There are definitely obstacles between the two points so maybe using pushing would not be feasible. It sounds like I will have to use the left click to teleport option. I welcome anymore ideas. Especially examples of a script I could try. |
|
Renee Roundfield
Registered User
Join date: 10 Mar 2006
Posts: 278
|
06-27-2008 08:59
You can make sit the default action of a touch on an object. Fine for one destination teleports.
|
|
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
06-28-2008 11:31
Check here:
http://www.slexchange.com/modules.php?name=Marketplace&file=item&ItemID=319742 She sells the scripts with full perms (including mod so you can see what's in them.) Basically relies on you wearing a bracelet. _____________________
Thread attempting to compile a list of which animations are freebies, and which are not:
http://forums.secondlife.com/showthread.php?t=265609 |