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.)
How to get the Asset UUID
- Sierra Jakob
- Posts: 266
- Joined: Tue May 14, 2013 9:22 pm
- Has thanked: 185 times
- Been thanked: 200 times
- Oren Hurvitz
- Posts: 361
- Joined: Sun Dec 23, 2012 8:42 am
- Has thanked: 19 times
- Been thanked: 500 times
- Contact:
Re: How to get the Asset UUID
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.
- Handy Low
- Posts: 231
- Joined: Fri Nov 08, 2013 3:38 pm
- Location: Yorkshire, England
- Has thanked: 207 times
- Been thanked: 140 times
- Contact:
Re: How to get the Asset UUID
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).
Handy Low
- Sierra Jakob
- Posts: 266
- Joined: Tue May 14, 2013 9:22 pm
- Has thanked: 185 times
- Been thanked: 200 times