How do I make Character Level 6 = Win Game?

● ARCHIVED · READ-ONLY
Started by UnicornEmily 5 posts View original ↗
  1. So, I'm creating a pretty simple puzzle game in which you have to interact with five out of about ten different events in order to win the game.  (Some are mutually exclusive, so that's why I can't have winning based on doing one particular event, or *all* of them.)

    I figured the simplest way to keep track of the number of events the player has accomplished would be to level them up after each event.  Then I figured, as soon as the player hit Level 6, it would trigger a common event called "Win Game."

    I've tried defining the character's level as a variable, and creating an event to turn on a switch at that point.  But that doesn't seem to do anything.  (It's possible I'm doing it wrong.  If that *should* work, screenshot what it would look like for me?)

    I can get the common event "Win Game" to trigger if I tie it to a particular switch.  But . . . I can't figure out how to make a switch that automatically turns on when the player reaches a particular level.

    Also, it needs to be able to automatically turn on from any room, because it's possible to block access to every room, depending on what choices you make.

    I know there must be a simple way to do this, but searching for hours and hours has yielded me nothing useful, and I'm at my wits' end.

    Help, please?
  2. Parallel process in the hub room: if character level = 6, you win?

    Also, this can be done via variables. Each event won = +1, then same check in the hub event but on that variable.
  3. But how do I tell it "if character level = 6, you win?"  That's the whole problem.

    Do I need to use a conditional branch, instead of "control variable," or something?  I'm not too clear on how conditional branches work.
  4. Yes, a conditional branch performs an 'if' check. Parallel process ensures it happens all the time on the hub map.

    Variables are just counts. Conditional branches check for conditions stated by branch against the variable, such as a number etc.
  5. Thank you so much.  It might seem ridiculous, but that was all I needed.  It helped immensely.