How would I be able to allow the player to turn on generators in any order?

Hello, I’m making a horror game and in one portion of the game you have to turn on 3 generators. The problem is how would I be able to keep track of how many generators the player has turned on?

Upon turning on the first generator, their objective should update to “1/3”. However, if they do it in a different order then it may jump to “3/3” or “2/3”. So please help.

1 Like

Sounds a lot like FNAF Security Breach

Simple: Instead of setting the number to the generator they just turned on, instead increment a variable that stores how many generators they have turned on.