riot1
05-01-2009, 04:46 PM
I have written a script to rig an already-boned character.
The script uses functions throughout as there are instances of passing "L" and "R" parameters to rig each side.
It's not quite finished yet and I use Tools > Evaluate All from the Maxscript Editor window.
Sometimes the script runs from start to finish with no errors. Sometime it has problems just creating IKSolvers, which is one of the first things it does. This make subsequent code fail, such as adding Custom Attributes, because the controls don't exist.
Is there a problem with some of my variable definitions. I do re-use quite a lot.
Sometimes, when the script doesn't complete when I use Evaluate All, I can select the lines and use Evaluate Line/Selection and it works.
The script uses functions throughout as there are instances of passing "L" and "R" parameters to rig each side.
It's not quite finished yet and I use Tools > Evaluate All from the Maxscript Editor window.
Sometimes the script runs from start to finish with no errors. Sometime it has problems just creating IKSolvers, which is one of the first things it does. This make subsequent code fail, such as adding Custom Attributes, because the controls don't exist.
Is there a problem with some of my variable definitions. I do re-use quite a lot.
Sometimes, when the script doesn't complete when I use Evaluate All, I can select the lines and use Evaluate Line/Selection and it works.
