Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

SLURLs embedded on Prims

Jean Swashbuckler
Registered User
Join date: 15 Aug 2008
Posts: 194
01-10-2009 08:43
I have a texture (a map) that is on one of the faces of a prim. The texture has multiple location points that people would have an interest in teleporting to.

Is there a way to add SLURLs to the prim overlaying the points on the texture so a resident can click and tp to that location? Thanks for any ideas...Jean
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
01-10-2009 09:46
You have a script using the new touch location functions, detect the touch, and chat the location.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Jean Swashbuckler
Registered User
Join date: 15 Aug 2008
Posts: 194
01-10-2009 09:50
From: Argent Stonecutter
You have a script using the new touch location functions, detect the touch, and chat the location.

Terrific Argent, thanks for the pointers.
Naiman Broome
Registered User
Join date: 4 Aug 2007
Posts: 246
01-10-2009 13:08
From: Argent Stonecutter
You have a script using the new touch location functions, detect the touch, and chat the location.

What new function?
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
01-10-2009 13:28
http://wiki.secondlife.com/wiki/LlDetectedTouchUV
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Zen Zeddmore
3dprinter Enthusiast
Join date: 31 Jul 2006
Posts: 604
01-10-2009 15:30
it's a wonderful new utility. I've been exploring the possibilities for weeks now.
Think "Analog sliders" for controls. How cool is that?

include an llOwnerSay("X= " + (string)range.x + " Y= " + (string)range.y);

and you'll get more data points than you can shake a stick at.

you can cordon off areas with

if( (xPointTouched < A && xPointTouched > B) && (yPointTouched < C && yPointTouched > D)
{
//insert what ever code you want to occur when the area is touched
}


Have fun :-)
_____________________
A kilogram of programmable nanobots can lower the certainty of both death AND taxes.