Inside the rollout definition you can't actually execute code. You can only define the UI and what happens when you interact with the UI. But, you can execute code once the rollout is created. on WalkcycleCreator open do ( global tijd = TijdSpinner.value )
hey, i'm currently making a 'walkcycle-creator' maxscript and i just faced my first big problem: i can't find how i convert an integer into a frame :s so i have this timespinner in which you can set the number of frame's for a walk-loop so i would like to get the integer from the spinner and convert it into frames so i can…
hey monster thanks that helped a lot !!! my code looks like this at the moment:rollout WalkcycleCreator "WalkcycleCreator" width:224 height:272( spinner TijdSpinner "Timespinner" pos:[10,30] type: #integer width:200 height:44 range: [12, 36, 12] slider TypeSlider "small - normal - cartoony" pos:[20,100] width:200…
thanks monster, that was the missing link i guess :D so here's my code up 'till now rollout WalkcycleCreator "WalkcycleCreator" width:224 height:272( spinner TijdSpinner "Timespinner" pos:[10,30] type: #integer width:200 height:44 range: [12, 36, 0] slider TypeSlider "small - normal - cartoony" pos:[20,100] type: #integer…
hmm no sorry that doesn't seem to de the trick, but thanks anywhay, because when my Timespinner value is 24 an i want to set a key at the 12th frame i would type "timeslider = (tijd/2)f" and ik give's an error :s it's probably easy'er if i just add my code, sorry rollout WalkcycleCreator "WalkcycleCreator" width:224…