I've got the script that checks to see if ALL switches in a set are turned to Off.
!([81,82,83,84,85,86,87,88].any?{|sw| $game_switches[sw]})
But what is the syntax to check if ANY of a set of switches are set to On? So if I have 4 switches and I want the conditional branch to activate if any one of those 4 switches are on, what is the script? I know it has to be close to the answer that @Shaz gave me above, but I can't guess what needs to be changed.
Thanks in advance!
!([81,82,83,84,85,86,87,88].any?{|sw| $game_switches[sw]})
But what is the syntax to check if ANY of a set of switches are set to On? So if I have 4 switches and I want the conditional branch to activate if any one of those 4 switches are on, what is the script? I know it has to be close to the answer that @Shaz gave me above, but I can't guess what needs to be changed.
Thanks in advance!