Page 1 of 1

How to get the Asset UUID

Posted: Fri Jun 06, 2014 11:11 pm
by Sierra Jakob
How do I get an object's UUID?

In my inventory, I am able to right click on a sound and select "Copy Asset UUID".
However, when I right click an object in my inventory, the "Copy Asset UUID" is greyed out--disabled. That's even for an object I made myself completely and is full perm.

(Just in case you are wondering why I am needing this.....I'm adjusting a particle script and need to get the particles to go toward a target object--I need the UUID to do that.)

Re: How to get the Asset UUID

Posted: Sat Jun 07, 2014 6:55 am
by Oren Hurvitz
When objects are rezzed they don't have an Asset UUID; they have an Object UUID. Those UUID's are created randomly each time the object is rezzed. So if you create a script with a hard-coded Object UUID then it would only work with the specific rezzed object that you're looking at, but it won't work if the script is reused with a different copy of the object.

Re: How to get the Asset UUID

Posted: Sat Jun 07, 2014 1:10 pm
by Handy Low
If you want to find the UUID of an object in-world using a script, you could use the llSensor() command, together with llDetectedKey(), to find the UUID of an object with a certain name (for example).

Re: How to get the Asset UUID

Posted: Mon Jun 09, 2014 3:32 pm
by Sierra Jakob
Thank you so much, Oren and Handy. :)