Jump to content

LunamAura
 Share

You are about to reply to a thread that has been inactive for 1692 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I'm creating a Gateway, portal, so that when a user enters it, they are automatically teleported to another location.

Is there a script that would work well for this, so that the user does not have to click the portal.

If not, is there a script available so that when the users touches the portal, a part of it changes, example the color or a door opens, then they can enter.

I know this may be a complex script.... or... it might be easy.

Thanks everyone.

Link to comment
Share on other sites

Would it be possible to accomplish this outside of an Experience but teleporting anyone, not just the owner?  I could imagine using a collision_start event to trigger sitting the avatar on a prim, perhaps an invisible prim in the doorway.  Then move the prim to the destination using llSetRegionPos() and unsit the avatar.  The prim could either return to origin, or it could die and the script rez a new prim in the doorway.

  • Like 1
Link to comment
Share on other sites

Oh, you can certainly do that, but that's not teleporting anyone.  You're simply moving a seated avatar with the region.  As someone pointed out here last week, you can also move an avatar to a remote cam position.  As long as you are only moving an avatar within the same region, you have several options.  You can't seat an avatar on a prim by colliding with it, as you are suggesting, unless you use llSitOnLink to do a "forced sit," which also requires an Experience, but that's a good idea too. To do a true "portal" teleport to a point in a different region, you need to use llMapDestination or llTeleportAgent (with or without an Experience). 

  • Like 2
Link to comment
Share on other sites

Sean, we can't force sit an agent on a prim, unless we use Experience or RLV

outside of this then we can use llSetKeyFramedMotion. When an agent stands on the keyframed prim then the agent will be carried along. Typlcally we make a invis cage around the agent so they don't fall off should they move with their arrow keys

another way is to enclose the agent in a invis physical cage and move the cage by llApplyImpulse

a thing with both of these methods is that the visuals of the ride can be a bit jerky/bumpy

 

another completely different way is to give your visitors a HUD when they arrive. When they wear the HUD then llTeleportAgent will work on themselves. Collide the portal, message to HUD, HUD wooshes agent to destination

 

  • Like 3
Link to comment
Share on other sites

5 hours ago, Mollymews said:

another completely different way is to give your visitors a HUD when they arrive. When they wear the HUD then llTeleportAgent will work on themselves. Collide the portal, message to HUD, HUD wooshes agent to destination

Just in case this sounds like a loophole to get what you really want without using an Experience: llTeleportAgent and llTeleportAgentGlobalCoords will not work when called from an object attached via llAttachToAvatarTemp (so you can't piggyback teleportation on the Experience attachment permissions of another script such as [AV]object).

  • Like 3
Link to comment
Share on other sites

I love you people!

Here's why... if I may just vent... I'm sort of depressed not finishing my Computer and Electrical Engineering degree due to financial suckage and life... was able to get my Pre-Engineering degree taking me through Differential Equations and Physics II... yet... had to go back to a boring job where... my mind gets super bored.

I'm a tinkerer... I just love tinkering with my mind. Creating stuff...

Just reading these comments... It's really a blessing because Second Life is bringing my soul back into a community where at least folk like to think, ponder, use their intellect to dream and come up with ideas... then actually see if they work or not.

Thanks Everyone!

I want the user to NOT have to put on a HUD... that to me is a downfall... 

My portal is super huge, like 60m x 60m x 80m tall... yes... it takes up that much space... It's freaking huge, Gothic, Werewolf portal to my upper Moonlands. Mesh construction, using 3D Coat to paint it up... Next thing... (pondering) is to have colors, orbs, particles... you know... like some magical ferry wizard made the swirly crap that is so curiously made... that... the user just has to walk into it... even if it.... well... you know... curiosity killed the cat stuff.... anyhow.

Anyhow... I just want any poor, public soul, who happens to stumble into my dark forest, to pass into it and be ported into another realm that will amaze them.

I'll keep posting my work here to keep everyone updated.

Thanks all you wizards out there.

Keep up the magic.

Peace.

Edited by LunamAura
Link to comment
Share on other sites

... mmm... I guess... dang... join group to accidentally fall into the rabbit hole... I could see the reason for security... I think scripting that forces a user's avatar into something they didn't agree to makes sense.... 

Maybe... I'll have to "tempt" them into the portal... like make a huge sign... dangling from an old elm tree... 

"Whatever you do... Do not click this portal..."

That might work.

Edited by LunamAura
  • Haha 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1692 days.

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
 Share

×
×
  • Create New...