Not too long ago @Shaz helped me with a script to check if all switches in a group were set to off which was very helpful, but now I am hoping there is a similar script to determine if any of a set of variables are greater than, or equal to 3.
To make sure I'm being clear, I want a conditional branch to activate if any 1 of 8 variables are greater than or equal to 3.
This was the script to check for the 8 switches !([1,2,3,4,5,6,7,8].any?{|sw| $game_switches[sw]})
Is there something similar for value checks on a set of variables?
To make sure I'm being clear, I want a conditional branch to activate if any 1 of 8 variables are greater than or equal to 3.
This was the script to check for the 8 switches !([1,2,3,4,5,6,7,8].any?{|sw| $game_switches[sw]})
Is there something similar for value checks on a set of variables?