Quick script question

I thought it would be possible to write something like this, but obviously you can’t do it like this:

if(oArmor3 =! oArmor || oArmor2)

So, how do you write it correctly? I want to check if oArmor3 is the not same as either oArmor or oArmor2.

Thanks for your time.

if (oArmor3 != oArmor && oArmor3 != oArmor2)
1 Like

Ah, of course. So simple. Sometimes one tends to be locked into a certain way of thinking, not realizing the obvious. Thank, kevL_s!