Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Texture Code

MaxM Perenti
Registered User
Join date: 1 Dec 2006
Posts: 8
05-28-2007 04:04
Hi,

How do you get the texture code for the "PRIM_TEXTURE" scripting function? I need it for a script which looks like this:

PRIM_TEXTURE, ALL_SIDES, "aebd4b83-6aea-b0ec-734c-f2c5e16c661a", <1,1,0>, <0.0,0.0,0>, 0.0]);

And using the normal name of the texture does not work - of course so I need to know how you get hold of the code :)

Thanks,

MaxM Perenti
Serenarra Trilling
Registered User
Join date: 14 Oct 2006
Posts: 246
05-28-2007 08:03
Find the texture in your inventory.
Right click on it - choose "Copy Asset UUID"
Open your script, highlight the code for the texture, hit "Ctrl/c". That will put the code for that texture there.

Of course, if you're using a MAC, you might have to press different keys.
MaxM Perenti
Registered User
Join date: 1 Dec 2006
Posts: 8
05-28-2007 10:07
great thanks :)