i have an object with a multimaterial ( 2 submaterials, and in each defuse channel is a falloff map) assigned. i just want to check whether the second`s submaterial defuse channel has a falloff map.if this is true, it should run the else condition...But i dont get it to work.
objs = selection as array
For i = 1 to count do
if classof objs[i].material.materialList.texmap_diffuse =! falloff ()
print "do this"
print "do something else"