Shihan Feiri Posted August 4, 2011 Posted August 4, 2011 I have make online indicator funktion that change texture when Online/offline.Now, everything works fine, but i recive every time error that texture is not in object. I have use texture uuid key in configuration notecard, and full Perm texture is in object that is sort of container for textures inworld. So i cant figure why is error message appears. Is there some way to see where problem is with debug error message?Script have no errors when i save, and I repet, everything is working fine. Except this error message.. I'm now little puzzled.
Darkie Minotaur Posted August 4, 2011 Posted August 4, 2011 Did you make sure, the UUID gets read correctly? What exactely does the error message say? Did you try to load the texture to another object with a very simple script that excludes all other possible causes? default { touch_end(integer num) { llSetTexture("xxxxxxxxxx", -1) }}
Shihan Feiri Posted August 4, 2011 Author Posted August 4, 2011 Yes i try in another object and everything is ok Error message is --> Could not find texture ''.
Darkie Minotaur Posted August 4, 2011 Posted August 4, 2011 We are getting closer: the '' means that an empty string is passed to the llSetTexture - I would guess there is something wrong in your note card reader
Shihan Feiri Posted August 4, 2011 Author Posted August 4, 2011 strange, because everything works, mybe is in notecard wrong format. I have str8 UUId. Mybe I need quotation marks around UUID
Darkie Minotaur Posted August 4, 2011 Posted August 4, 2011 just try and add llOwnerSay("tis is the UUID: " + UUID); just before you set the texture to make sure
Rolig Loon Posted August 4, 2011 Posted August 4, 2011 Most of the time, LSL treats a key as a string variable, but not always. I can't ever tell when it's important. Try defining the texture as key texture_UUID = "the UUID goes here" instead of string texture = "the UUID goes here"
Darkie Minotaur Posted August 4, 2011 Posted August 4, 2011 I weas thinking that as well - but doesn't llSetTexture expext a string which the function then treats as a key?
Rolig Loon Posted August 4, 2011 Posted August 4, 2011 I can't ever tell. That's why I said "try". :smileywink:
Void Singer Posted August 4, 2011 Posted August 4, 2011 code would be helpful, much as I like playing 20 questions....
Recommended Posts
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