Loki Eliot Posted October 27, 2011 Share Posted October 27, 2011 Is there a way to send a person a request to teleport them to a location after they collide with an object? Link to comment Share on other sites More sharing options...
Sassy Romano Posted October 27, 2011 Share Posted October 27, 2011 only if they use an RLV enabled viewer. Otherwise, you have no control over their actions and a TP would require either a sit on something to do a warppos or pop a map. Link to comment Share on other sites More sharing options...
Dora Gustafson Posted October 27, 2011 Share Posted October 27, 2011 Unfortunately llMapDestination() will only work in attachments or prims touched. Of course you can always make the collided object tell the avatar to touch(for llMapDestination) or sit(for a local teleport). The only remaining option I see is to push:smileyhappy: Link to comment Share on other sites More sharing options...
Void Singer Posted October 27, 2011 Share Posted October 27, 2011 there is a sneaky way to do it... capture a touch (needed for map destination) and then enter a poling loop inside of the touch event, looking at the an externally settable property like a prim name or description... then have a separate trigger script that sets the property you are looking at in the first, whenever the event of your choice occurs. the first script then exits the polling loop, calls the map, and then clears the set property (if it can), or either stores it (so it can detect a change) or sends a message to the second script to clear it. this is the exact method used by multiple "stargate" map teleport devices, the click is captured on the dialing device, but the map trigger only happens when you walk through (collision event) ETA: the same method can be used to gather data from other sources (like dataserver events to get the coordinates from a landmark in object contents) Link to comment Share on other sites More sharing options...
arton Rotaru Posted October 27, 2011 Share Posted October 27, 2011 How about sending a direct teleport link via llRegionSayTo()... llRegionSayTo(llDetectedKey(0), 0, "secondlife:///app/teleport/"+llEscapeURL("Sandbox Cordova") + "/128/128/25"); , or if you want them to open the map, send a slurl. Link to comment Share on other sites More sharing options...
Loki Eliot Posted October 28, 2011 Author Share Posted October 28, 2011 So if i have a door that they have to click to open, that door action can be stored and used later to auto teleport up to a sky box on collision? Link to comment Share on other sites More sharing options...
Void Singer Posted October 28, 2011 Share Posted October 28, 2011 it could be used to trigger llMapDestination yes... which isn't quite what you are saying.... to be whisked away auto-magically upon collision without any user feedback, the only method I'm aware of is trap the avatar and drag them via physics (or orbit/push them) Link to comment Share on other sites More sharing options...
Sassy Romano Posted October 28, 2011 Share Posted October 28, 2011 Void Singer wrote: to be whisked away auto-magically upon collision without any user feedback, the only method I'm aware of is trap the avatar and drag them via physics (or orbit/push them) RLV does it just fine but then won't work for everyone Link to comment Share on other sites More sharing options...
Rolig Loon Posted October 28, 2011 Share Posted October 28, 2011 I am intrigued by Void's description of a two-script solution, but it still seems like a clunky way to do things. It means that the user has to do three things in order to TP to the skybox: (1) Click the door/portal to activate script #1 with its polling loop. (2) Collide with the door to activate script #2 to change a prim property of the door, break the polling loop, and trigger llMapDestination. (3) Click the "teleport" button in the map display that opens. That's a lot of work for a simple TP. There are much easier ways to get to a skybox with a standard sit TP . You don't get to do it with a collision, but you can include other visual effects that don't involve making the user activate more than one trigger (See https://marketplace.secondlife.com/p/Magic-Door-Teleporter/2749996 or https://marketplace.secondlife.com/p/Curio-Obscura-Anywhere-Doors/615009 , for example). Link to comment Share on other sites More sharing options...
Franky Bodenhall Posted January 11, 2012 Share Posted January 11, 2012 They do this in Linden Realms. Instant teleport when colliding with portals. I don't have a clue how, though. It works on any viewer. Link to comment Share on other sites More sharing options...
Rolig Loon Posted January 11, 2012 Share Posted January 11, 2012 They do it with a new LSL function that has yet to be released across the grid but will be available in the near future. See http://community.secondlife.com/t5/LSL-Scripting/llTeleportAgent-and-a-lot-more-are-coming/m-p/1208603#M6807 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now