Poserfiend opened this issue on Jul 04, 2001 ยท 2 posts
Poserfiend posted Wed, 04 July 2001 at 1:08 AM
Was adapting Kamilche's great skin color matcher to set all the skin attributes to the other parts. Worked fine. Then I thought I'd also set the Transparancy Attributes from teh skin to everything else. When I run the script it sets the first three parts or so after the skin correctly , then fails to set the rest. No error messages. Sets the first couple exactly. May set some of the attributes, but never all of them after that. Any ideas?
bushi posted Wed, 04 July 2001 at 2:08 AM
Without seeing the code, it's like trying to diagnose what's in the blackbox. ;-) I'd expect to see something like this happen if the list of texture area names was predefined in the script rather then read from the figure at run time. If the figure being used had texture area names different from the pre-defined list, there could be problems. That's just a shot in the dark. You might want to add a 'try' program structure in the loop that's changing the parameters to see if you could trap an error that way. A well placed 'print' statement to list what's happening in the loop would also be useful. It would at least let you know how may iterations occured before the loop broke. You could set it up to print the current values for the variables being used.