Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do i get posion of an avatar.

Robertt Goodliffe
Registered User
Join date: 1 Jan 2006
Posts: 16
11-05-2006 05:45
I feel stupid for asking this because im sure its a very simple answer, but how do get the regional position of a detected Avatar?

I have a vector called avpos and I want its value to be that of a Detected Avatars Position using sensor.

I know llGetPos() will return the position of an object but for the life of me I cant find out how to return the position of an avatar. I dont need to constanly keep track of the Avatars Position, i just need to know the Avatars Position at the time of Detection.

Thx
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
11-05-2006 07:49
llDetectedPos
Vares Solvang
It's all Relative
Join date: 26 Jan 2005
Posts: 2,235
11-05-2006 12:45
CODE
avpos = llDetectedPos(0);
_____________________