Jump to content

Magic Portal script


Druidamus Rau
 Share

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

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

Recommended Posts

You can write your own, but the script has to be set up to run in an Experience, the way that the scripts in the Portal Park are.  llTeleportAgent will only work if the script is in an Experience or if it's teleporting the owner of the script.  See the LSL wiki >>> http://wiki.secondlife.com/wiki/LlTeleportAgent#Permissions

Otherwise, you'll need to fall back on the traditional (less exciting) method with llMapDestination, which is not instantaneous.

  • Like 1
Link to comment
Share on other sites

Yeah, it was a bit disappointing to have that limitation on llTeleportAgent soon after it was released a couple of years ago.  You may recall, though, that the initial release was a bit of a disaster because nobody seemed to have realized that the function would be a gift to griefers who want to create Surprise! portals to send people to nasty places.  That's why it became primarily an Experience tool.  If you are scripting for a region that has an Experience, it is a very useful function indeed.

Link to comment
Share on other sites

Too, so now I thought, why is not yet available. It's a shame that for such people lose a lot of possibilities: /

Edit:
Unfortunately, this option 

llMapDestination

 does not work with the collision ;(

 

default{   collision(integer moocow)    {        llMapDestination("Night Dragon", <39, 197, 2006>, ZERO_VECTOR);    }}

 

Link to comment
Share on other sites

No, it doesn't.  You need to activate it with a touch* event unless it's in a script that is in something you are wearing. That makes it a clumsy function to use for a portal but, as I said earlier, it's all that we have unless you are working in an Experience and can use llTeleportAgent.   If you are working entirely within a single region, of course, you can always use a sit teleporter.  That's a little more realistic than using llMapDestination, but still not a collision portal.

  • Like 1
Link to comment
Share on other sites

Far as im aware llTeleportAgent was LLs attempt at the RLV forced teleport, which they claimed the RLV could be used for grifing so had no intentions of allowing it and then implemented their own, which i was at a loss to understand. But as one could use even a sit or map teleport to send an agent to a nasty place if one was childishly inclined it really comes down too trust.I doubt most look at the presented map anyway and just click it.RLV has such bad missunderstood veiw that most would not even use it anyway so in shoert the OP is stuck with those three you suggested.and is unlikely to ever change. There are plenty of self setting portal products around in regards to same sim, one of which is very good but can not name them and quite a few sit teleport scripts in the library as i understood the OP was not intending to actually write the scripts. This may be of use, idk http://wiki.secondlife.com/wiki/LlTeleportAgentGlobalCoords

Link to comment
Share on other sites

A friend just pointed out that you might not understand what an Experience is in Second Life, and thus may not have gotten the full meaning of my first response to your question.  It's best explained in this Knowledge Base article >>> https://community.secondlife.com/t5/English-Knowledge-Base/Experiences-in-Second-Life/ta-p/2744686

Basically, llTeleportAgent is one of a dozen or so LSL functions that are designed for use primarily (or entirely) to be used in that special environment.  Portal Park and many of the Linden Lab venues that you reach from Portal Park are all in Experiences.  If you are a Premium member and want to create an experience on land that you own, you may do that.  If not, you may still write LSL scripts for Experiences but they will only work if they are actually installed in places where the Experience is set up.

  • Like 1
Link to comment
Share on other sites

Unfortunately, I am not a user of a premium and unfortunately with us in the yard is not set adventure. I did a few places (platforms) to explore, there is also a small space in which I put a black hole. And to black hole just I need a script. The black hole pulls avatar (without his intervention on the subject: sit, touching) and moves to the next place to visit. But in that case, I'll have to give up this option and change the plan to transfer to your next destination.
Thank you all for your help.

Link to comment
Share on other sites

  • 3 years later...

deBruce, with a Experience enabled script, a collision portal catering for people both in and out of the Experience, goes something like:

collision_start(integer num)
{
   key k = llDetectedKey(0);
   if (llAgentInExperience(k))
     llTeleportAgent(k, ...);
   else
     llMapDestination(k, ...)
}

 

 

Link to comment
Share on other sites

20 hours ago, deBruce Munro said:

This is an OLD thread, but...No one ever actually answered the original question. This was a function which originally existed in SL but was turned off in response to supposed griefing. It has now been returned with a qualifier.

 

Can anyone point to an actual script?

 

Link to comment
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...