View Full Version : Problems with global variables and external scripts

10-26-2008, 12:21 AM

I have a collection of scripts which need to use scripted custom attributes.
I had previously stored a copy of the custom attribute definitions in each of the script files, however the duplication of that data is not wise.
To Get around this, I have been trying to split the definitions out into their own script, which can be called from the other scripts when they are run.
However, when running these scripts, they return errors stating that the global variables used to refer to the scripted custom attribute definitions have not been defined, even though I have in effect, run the script which defined those variables just before trying to use them.

Any help?


CGTalk Moderation
10-26-2008, 12:21 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.