06-02-2005 04:02
I posted this under Feature Suggestions, but thought this would be useful under 1.6, since the llGetTexture script was gimped with this version.
-------------------------------------------------------------------------------

Alternative for the now-broken llGetTexture()

--------------------------------------------------------------------------------

Currently llGetTexture is broken with the latest update, unless the object is full mod, copy, transfer. Presumably this is to prevent unscrupulous people from copying the texture. This is fine.

Unfortunately, it also presents a problem for genuine folks who already KNOW the texture key and uses it in scripts to do things - and since the objects are sold, they often cannot be full mod/copy/trans.

SUGGESTED SOLUTION:
Have a new function:

llIsTexture(integer face, key id)

This compares the texture of the object at the given face WTH a supplied key. It returns either TRUE or FALSE. Thus it prevents the theft of the original textures, yet it still gives scrpters a functional script.

As the recent fix busted the function, making many objects in-world non-functional, I hope that the Lindens will treat this with the highest priority. It just doesn't help to bust things with every "update" - just makes people unhappy with the world.