Home Technical Talk

[MAXSCRIPT] How to check if object has ANY modifier?

polycounter lvl 5
Offline / Send Message
leplatin polycounter lvl 5
I'm trying to assign 
if $ != undefined do deleteModifier $ 1 
to hotkey. Everything works fine but gives error if object has no modifiers. How to check if object has got (or hasn't got) any modifier?

Replies

Sign In or Register to comment.