Jump to content

Can an SL Experience give a text prompt?


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

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

Recommended Posts

I have a train system on my parcel and I'd love to be able to have the ability to, say, announce the next station coming up as the train is leaving.  Is there an experience that puts gives a text prompt?

The train IS an SL vehicle.  Do experiences work when someone seated in an SL vehicle passes through an object with an experience in it?

Link to comment
Share on other sites

1 hour ago, Lucia Nightfire said:

You don't need an experience to send someone a text or dialog message.

Experiences "work" when the experience is allowed on the land a target agent is on and they have the experience in their Allowed list.

Thank you ... and I have explored those options, and I wonder if an experience wouldn't be a better way to go.  The question still remains .... can an experience be triggered by an avatar while they are seated in an object, such as an SL vehicle of some kind?  And if triggered, can it send text to the avatar?

Edited by Cranston Yordstorm
Link to comment
Share on other sites

2 hours ago, Cranston Yordstorm said:

Thank you ... and I have explored those options, and I wonder if an experience wouldn't be a better way to go.  The question still remains .... can an experience be triggered by an avatar while they are seated in an object, such as an SL vehicle of some kind?  And if triggered, can it send text to the avatar?

I've already answered both questions.

A user does not need to be in an experience nor over experience allowed land to send them a "text".

I do not understand what you mean by "triggering" and experience.

You can use the script function, llAgentInExperience() to determine if a user is either over land your experience is allowed and/or if they have the experience allowed on their person and if they are, then send them a text?

Sending them a "text" is not the same thing as sending them a request to participate in said experience via the script function, llRequestExperiencePermissions().

So, unless you only want to send participants texts, I'm not sure why you'd want to rely/depend on an experience to do so.

Link to comment
Share on other sites

4 minutes ago, Lucia Nightfire said:

I've already answered both questions.

A user does not need to be in an experience nor over experience allowed land to send them a "text".

I do not understand what you mean by "triggering" and experience.

You can use the script function, llAgentInExperience() to determine if a user is either over land your experience is allowed and/or if they have the experience allowed on their person and if they are, then send them a text?

Sending them a "text" is not the same thing as sending them a request to participate in said experience via the script function, llRequestExperiencePermissions().

So, unless you only want to send participants texts, I'm not sure why you'd want to rely/depend on an experience to do so.

lol thanks ... ok I need to rephrase.  I have a railway system on my land (which I can control and put experiences down in, yes) and I would like to find a way, as they are passing by points of interest (such as one of three depots that the trains stop at,) to have a text pop up either in local chat or a pop up WHILE they are traveling past it.  I currently use teleport experiences for easy, hassle free movement from place to place.  I was just curious if, while someone is sitting on an object (In this case, an SL train vehicle) they were able to trigger experiences.  I seem to remember some scripting being ineffective if avatars aren't roaming freely but are instead sitting on a vehicle, moving around according to the vehicles preprogrammed trajectory.  So right now, I know it can be done without experiences, but I'm just seeing what the possibilities are WITH it.

Link to comment
Share on other sites

1 hour ago, Cranston Yordstorm said:

lol thanks ... ok I need to rephrase.  I have a railway system on my land (which I can control and put experiences down in, yes) and I would like to find a way, as they are passing by points of interest (such as one of three depots that the trains stop at,) to have a text pop up either in local chat or a pop up WHILE they are traveling past it.  I currently use teleport experiences for easy, hassle free movement from place to place.  I was just curious if, while someone is sitting on an object (In this case, an SL train vehicle) they were able to trigger experiences.  I seem to remember some scripting being ineffective if avatars aren't roaming freely but are instead sitting on a vehicle, moving around according to the vehicles preprogrammed trajectory.  So right now, I know it can be done without experiences, but I'm just seeing what the possibilities are WITH it.

It seems you're referencing objects that people can walk through/into to trigger collision based script events which typcially don't trigger with sitters unless they're sitting on physical objects.

Experiences do not offer any additional functions to automatically trigger events in such environments.

You will still need to use some form of timed or sensory method to detect when sitting users enter an area.

Edited by Lucia Nightfire
Link to comment
Share on other sites

2 minutes ago, Lucia Nightfire said:

It seems you're referencing objects that people can walk through/into to trigger collision based script events which typcially don't trigger with sitters unless they're sitting on physical objects.

Experiences do not offer any additional functions to automatically trigger events in such environments.

You will still need to use some form of timed or sensory method to detect when sitting users enter an area.

Thanks ... thats the answer I was looking for.  No! :D

Link to comment
Share on other sites

12 hours ago, Cranston Yordstorm said:

lol thanks ... ok I need to rephrase.  I have a railway system on my land (which I can control and put experiences down in, yes) and I would like to find a way, as they are passing by points of interest (such as one of three depots that the trains stop at,) to have a text pop up either in local chat or a pop up WHILE they are traveling past it.  I currently use teleport experiences for easy, hassle free movement from place to place.  I was just curious if, while someone is sitting on an object (In this case, an SL train vehicle) they were able to trigger experiences.  I seem to remember some scripting being ineffective if avatars aren't roaming freely but are instead sitting on a vehicle, moving around according to the vehicles preprogrammed trajectory.  So right now, I know it can be done without experiences, but I'm just seeing what the possibilities are WITH it.

You could use experience permissions to attach a HUD to an avatar without them having to choose attach

Some trains I've noticed in SL go into 'tunnels' where they teleport to another parcel, but it has to be close by, with an Experience perhaps you could cross entire sims by using experience permissions/functions to teleport and re-sit the avatar on another of the same train to allow a train line to cover very long distances or perhaps jump between unconnected sims.

Just some ideas

  • Thanks 1
Link to comment
Share on other sites

One way I used an experience with my cable car is using an experience-attached hud, I used llMoveToTarget to 'walk' the avatar correcting for the motion of the car, that way the avatar can stand inside the car and not fall out. You'd have to play some kind of standing animation to prevent the walk one playing. I requested llSetAnimationState from LL once to use the AO stand but LL ignored that particular request..

  • Thanks 1
Link to comment
Share on other sites

10 hours ago, Extrude Ragu said:

One way I used an experience with my cable car is using an experience-attached hud, I used llMoveToTarget to 'walk' the avatar correcting for the motion of the car, that way the avatar can stand inside the car and not fall out. You'd have to play some kind of standing animation to prevent the walk one playing. I requested llSetAnimationState from LL once to use the AO stand but LL ignored that particular request..

You can also use keyframe motion up to a certain velocity/omega threshold on something the avatar is standing on and your avatar will be move with it.

Link to comment
Share on other sites

I guess if riders are already wearing an Experience-attached HUD, it would be a handy place to detect on_target events for the vicinity of these train stations. "Handy" that is, because the worn HUD knows its owner is the one to whom chat should be directed. Alternatively, of course, the train could detect the event and send the text to all the seated avatars, found at the end of the train's linkset.

If pedestrians or passengers on their own vehicles are supposed to get the text, such a HUD would work, as would an unattached script that polls positions of everybody in llGetAgentList (or using a sensor, if we're yearning for that sweet retro-lag).

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 644 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...