Hey, I just started to look into maxscript and I have a little problem with my modifier. This is an example (There is more to the real script, but this is the problem area):
parameters main rollout:rolloutGeneralSettings
(
arrtestList type:#index animatable:false ui:testList enabled:true
intvalue1 type:#integer animatable:false ui:value1 default:1 enabled:true
intvalue2 type:#integer animatable:false ui:value2 default:1 enabled:true
)
rollout rolloutGeneralSettings "General Settings" width:162 height:633
(
multiListBox testList "multilistbox test" width:146 height:9
spinner value1 "V1: "width:80 height:16 range:[0,100,0]
spinner value2 "V2: "width:80 height:16 range:[0,100,0]
)
I think the problem is the multilistbox type:#, I just cant get it to remember the values, like it does with all my other fields like the spinner (like the intvalue1 and intvalue2) and dropbox. Anyone know what the right type for multilistbox (arrtestList ), or do you need to re-add the value to the multilistbox in another way?
Anubis · 2011-05-13
Graph · 2011-04-29