In my game, the player in order to open a chest must input a 4 digit number. The number generates via an auto-run event when entering the map. What I intend is this: the first 2 digits were written down by another character as a clue and left for the player to find. The other 2 digits will be hinted at at another part of the map (ie. a calendar with a certain day of the month marked or something like that).
For the clues, I need to extract the first two and last two digits of the number so that I can integrate them into the 'puzzle' hints. How do I go about doing this?
For the clues, I need to extract the first two and last two digits of the number so that I can integrate them into the 'puzzle' hints. How do I go about doing this?