Notifications
Clear all
[Closed] execute string in loop
Page 2 / 2
Prev
Jul 20, 2011 9:51 am
It happens because you didn’t copy the whole code, notice the ( and ) around my code. You’re probably working without those in your code. I highly recommend to always use that around all code, your code will improve and probably debug better, because less globals floating around. Read up on local and global variables.
-johan
Jul 20, 2011 9:51 am
yes, good point. I don’t know why I couldn’t do it the first time I tried. I get very confused when mixing strings and literals and maxscript commands and executes…I don’t know what to enclose in quotes and what not to…thanks for the clarification.I was going cross-eyed. There’s got to be an easier way! I’m writing to that guy who came up with maxscript in UK and giving him a piece of my mind.
Page 2 / 2
Prev