Getting a spinner value to change a value in a script.
I'd like to know how to use the value of a spinner to change something in a script.
So when a user changes a spinner value, that vale is used to adjut the settings of the rest of the script when a button is pressed.
It's for my Multi/Sub-Object script and i'd like a spinner so that the user can select how many sub materials they want. I've got the spinner in the UI, i just can't figure out how to take the spinner value and put it into the property for the number of materials.......It seems simple but everything i've tried doesn't work.