03 March 2013 | |
![]() |
|
Still learning...
portfolio
Shan Joseph
None
Animare
Australia
|
![]() Hi all,
Hmm, kinda frustrated here, I had started learning maxscript stopped and started again, everything was going fine, I had been working on a script, anyway now I'm having a problem and it seems so simple. I'm just trying to add another rollout to my floater. And everytime I do, nothing works. I have checked manual and syntax etc...I can't figure it out!? I have stripped back the code to just the rollouts, if I take the test rollout out it works...so Im stumped. Keep getting
My code
Bonus Question, why can't I do math on array counts e.g array1.count * array2.count?? Help and tips appreciated! Thanks Last edited by Animare : 03 March 2013 at 01:56 PM. |
03 March 2013 | |
![]() |
|
the frequentest!
portfolio
Rotem Shiffman
Tel Aviv,
Israel
|
MAXScript is not a compiled language. You are trying to add a rollout before you've defined it.
Try it this way:
Originally Posted by Animare:
Bonus Question, why can't I do math on array counts e.g array1.count * array2.count??
You most certainly can, post specific code. I'm betting on either a type issue or a parentheses issue. __________________
VFB+ : Advanced Frame Buffer for 3dsmax |
03 March 2013 | |
![]() |
|
Still learning...
portfolio
Shan Joseph
None
Animare
Australia
|
Wow thanks! That helps alot!
With the array so for example I have 2 arrays of objects define as
Then I want to do maths calc with them such as
I even tried adding the following code
What am I doing wrong? |
03 March 2013 | |
![]() |
|
Frequenter
Antoine Ferrieux
Paris,
France
|
|
03 March 2013 | |
![]() |
|
Still learning...
portfolio
Shan Joseph
None
Animare
Australia
|
Ahhh...perfect! Thanks!
|
03 March 2013 | |
![]() |
|
Expert
|
Thread automatically closed
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities Note that as CGTalk Members, you agree to the terms and conditions of using this website. |
Thread Closed share thread |
«
Previous Thread
|
Next Thread
»
|
|
|