Home Technical Talk
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

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:
  1. >> 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
  1. rollout MySphere "My Sphere Script"
  2. (
  3. spinner _SS "Size" type:#integer range: [1,200,10]
  4. button _Sph "Sphere"
  5. on _Sph pressed do
  6. (
  7. sphere segments:_SS radius:10
  8. )
  9. )
  10. createdialog MySphere 200 150

Replies

Sign In or Register to comment.