|
Valradica Vanek
Registered User
Join date: 1 Aug 2006
Posts: 78
|
10-31-2006 03:22
In SL every object, script, texture etc. has a unique asset number that can be called to invoke that thing. Do avatar's have unique asset numbers and how does one find that number.
I am writing a script that sends me and IM whenever certain things happen near the prim. The prim may have changed owners hands, but I want the IM still to come to the unique Avatar (mine) Using llGetOwner to find the key may not work if the prim has changed ownership - Any clues would be helpful
Val
|
|
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
|
10-31-2006 05:06
Well llGetOwner() gets the unique ID for the Avatar that owns the prim, but you are right that it will change if you give the prim to someone else obviously.
All you would need to do is have a script that will tell you your key and you can replace the llGetOwner() calls with that key.
Using the default new script and changing the touch event to say the llDetectedkey(0) would also work.
|
|
Vares Solvang
It's all Relative
Join date: 26 Jan 2005
Posts: 2,235
|
10-31-2006 13:05
There is also a file on your own computer that has the key of every AV you have met in it. Look for: Documents and Settings\Owner\Application Data\SecondLife\cache. There should be a text document in there called cache with all the keys listed.
|
|
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
|
10-31-2006 13:09
llGetCreator()
_____________________
http://slurl.com/secondlife/Together
|