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

null
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.