What you're looking for is the break command. Example (not in maxscript) var num = 10;for (var i = 1; i<=100; i++) { trace("number: "+i); if (i == num) { break; }} Will print to 10 then stop.
Hey folks, having a noob moment with MAXScript. I've got this simple bit of code. for i = 1 to 100 do( if WM3_MC_HasData $.Morpher i == false then ( print i )) I just wanna add in a condition so the loop stops when it's found something matching false. I've looked at the do/while loops but I can't seem to get it to work at…