Deadalus
11-23-2006, 12:53 AM
okay i feel realing dumb with this one. Its for the maxscript challenge.
For those who dont know the subject, you have to make a script to get Info for your scene.
So what i made is a script that go trought the scene and get object of the same class and slap 'hem in respective array.
Everything's fine now but i keep hitting the same prob And i'm sure i already found the answer some time ago but i memory is a thing that forget :D
Problem: Be able to get the number of Object in an array and return the corresponding number to a checkbutton.
Something like
checkbutton OBjCount " Object Counter"
on ObjCount changed state do
if state ==on
then ObjCount.text = ""
else ObjCount.Text = number of object in array -- <-- i'm stuk here
man i'm sure its just too easy.
WHo think i gonna find the answer on my own as soon as i send the tread?
For those who dont know the subject, you have to make a script to get Info for your scene.
So what i made is a script that go trought the scene and get object of the same class and slap 'hem in respective array.
Everything's fine now but i keep hitting the same prob And i'm sure i already found the answer some time ago but i memory is a thing that forget :D
Problem: Be able to get the number of Object in an array and return the corresponding number to a checkbutton.
Something like
checkbutton OBjCount " Object Counter"
on ObjCount changed state do
if state ==on
then ObjCount.text = ""
else ObjCount.Text = number of object in array -- <-- i'm stuk here
man i'm sure its just too easy.
WHo think i gonna find the answer on my own as soon as i send the tread?
