I'm creating a puzzle where the player has to find a combination lock number to progress through the game (if they input the wrong number, get a 'wrong number' message). However, if the player knows the combination number ahead of time they skip important parts of the game. So I thought to instead have the combination lock randomize every time the player starts a new game.
I know how to do the randomizing number part. I did a control variable event, then set the variable to a new variable, set the operation to "set", then set the operand to "random" then set that to 1000 ~ 9999 (the Input Number is 4 digits).
I'm not very good at wording my question but I'll try and if It's confusing feel free to ask "What the hell are you talking about?"
How do I have the conditional branch for the combination lock variable set to the random number on each new game?
I know how to do the randomizing number part. I did a control variable event, then set the variable to a new variable, set the operation to "set", then set the operand to "random" then set that to 1000 ~ 9999 (the Input Number is 4 digits).
I'm not very good at wording my question but I'll try and if It's confusing feel free to ask "What the hell are you talking about?"
How do I have the conditional branch for the combination lock variable set to the random number on each new game?