Jump to content

Determine type of resource from uuid


Xxaxx Constantine
 Share

You are about to reply to a thread that has been inactive for 3989 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I am creating a texture changer.

I have found how to determine whether a uuid is valid or not.

 

if((key)uuidstr){
//do something }

From: http://wiki.secondlife.com/wiki/Category:LSL_Key

"will only return true if it is supplied a key that is both (A) valid, and (B) NOT a NULL_KEY."

I would like to take my sanity checks one step further and determine if that uuid is for a graphic.

Is that even possible?

Link to comment
Share on other sites

Thanks for the suggest.

In this case the texture is not in the prims inventory.

Nice to know the llGetInventoryType function exists. But, I don't think it will help in this particular case.

I suppose I will just let the llSetTexture function fail silently if the UUID is not a texture.

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3989 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...