Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Who Touch Me

Mod Faulkner
Registered User
Join date: 11 Oct 2005
Posts: 187
01-10-2006 04:13
I know it it probably in the Wiki somewhere, but I am trying to find a funciton that detects the AV that either right or left clicked on a prim. Thanks, Mod

P.S. While am an at it, how would I calculate the exact distance between to vector points?
Myspoonistoobig Laxness
Registered User
Join date: 3 Nov 2005
Posts: 15
01-10-2006 05:27
1) all the llDetected* functions give you this sort of information. in this case you want llDetectedName(). use it inside an event handler (such as touch_start)

http://secondlife.com/badgeo/wakka.php?wakka=detected

2) llVectDist(). click on "vector" under "types" on the front page, scroll down, and there's a list of functions relating to vectors

http://secondlife.com/badgeo/wakka.php?wakka=llVecDist