Home Technical Talk

MaxScript 2011 Problem

pc-crash
polycounter lvl 6
Offline / Send Message
pc-crash polycounter lvl 6
I am a beginer in MaxScripting and i run into a strange problem.
I followd this video tutorial: [HTML] But every time I tried to create the Sphere with the values from the spinner I get this error message:
>> MAXScript Rollout Handler Exception: -- Unable to convert: SpinnerControl:_CS to type: Integer <<
even if I change the type of the Spinner to integer.

I really don't know what to do :(

Here is the full code
rollout MySphere "My Sphere Script"
(
    spinner _SS "Size" type:#integer range: [1,200,10]
    button  _Sph "Sphere"
    on _Sph pressed do
        (
        sphere segments:_SS radius:10
        )
    )
createdialog MySphere  200 150

Replies

Sign In or Register to comment.