• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

SOLVED Check an object's state across multiple instances

Mr Errorz

Member
I have this object [oBlock], which I have up to 81 instances of it in a room,
it has a few states, and I want to be able to track one of it's states [flagged] and be able to check if none of the instances are currently at this state.
in pseudo code, something like:
if instance_number(oBlock.flagged) == 0
or:
if !instance_exists(oBlock.flagged)

What's a good way to achieve this?
 
Top