Page 1 of 1
max scripting RE2 Remake
Posted: Fri Aug 09, 2019 12:29 am
by Crazy Potato

I'm getting this error after editing a bit to allow more models to be exporting/imported. I'll provide more info if needed, I'd post them now but I don't even know what to post lol
Being new to max scripting can only get you so far before needing help...
Re: max scripting RE2 Remake
Posted: Sun Aug 11, 2019 6:02 pm
by PredatorCZ
w1 is not defined, !=0 statement won't protect you from undefined variables (0 != undefined).
You will need to define said variable, or use appropriate expression.
So it should be
Code: Select all
if (w1 != undefined) then maxweight += w1
...