Home Technical Talk

MAXScript Question (noobish)

polycounter lvl 13
Offline / Send Message
Wesley polycounter lvl 13
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 all. I've been looking for an example that is do/while that has a "for" but can't find one.

Someone help my noobish ass please.

Replies

Sign In or Register to comment.