Gibbz
06-10-2006, 12:59 PM
Ok i have this bizzare issue happening with my maxscript.
It only happens when I open my script for the first time after max loads....
i create a rollout(as a dialog), a subrollout which has more rollouts on it.
so to access these i have for example...
myMainRollout.mySubRollout.myRolloutTransforms.open
Ok now the first time i load max, then run the script and try to access anything from myMainRollout i get errors, but ONLY the first time.
example
myMainRollout.mySubRollout.rollouts[1].open
returns the error
-- Unknown property: "mySubRollout" in undefined
So i assume this is a problem with "myMainRollout", however if i put those commands in the maxscript listener the issue do not occur....
Any ideas whats goin on with this?
It only happens when I open my script for the first time after max loads....
i create a rollout(as a dialog), a subrollout which has more rollouts on it.
so to access these i have for example...
myMainRollout.mySubRollout.myRolloutTransforms.open
Ok now the first time i load max, then run the script and try to access anything from myMainRollout i get errors, but ONLY the first time.
example
myMainRollout.mySubRollout.rollouts[1].open
returns the error
-- Unknown property: "mySubRollout" in undefined
So i assume this is a problem with "myMainRollout", however if i put those commands in the maxscript listener the issue do not occur....
Any ideas whats goin on with this?
