I know this has been discussed before but I’ve been remiss it writing down for future reference. How do you mix && and || in a single statement. For example, I have a button that can be clicked if…
AnchorStealStatus = 0 && RoundStatus = 1 && playerSide != ActivePlayer && playerSide != Questioner && (here’s the problem part)
It can be clicked by either playerSide = Anchor OR playerSide = Master
I know this has been discussed before but I’ve been remiss it writing
down for future reference. How do you mix && and || in a single
statement. For example, I have a button that can be clicked if…
AnchorStealStatus = 0 && RoundStatus = 1 && playerSide != ActivePlayer
&& playerSide != Questioner && (here’s the problem part)
It can be clicked by either playerSide = Anchor OR playerSide = Master
No, I need the exclusions. It’s a button that allows players to attempt to steal a trivia question that the active player doesn’t guess correctly. The active player and the questioner are obviously not allowed to steal. Therefore, their steal button shouldn’t work.