Hello, this question is very stupid. But I am making a padlock script that is unlocked with 4 different integers and I was wondering if there is any way of making it so that for example. If you have a main int called currentCode. What I want to do is set all of the 4 integers into 1. So it would be like option1, option2, option3 and option4 would be for example (6 4 7 8) as the separate integers. Then I want the currentCode to display the 4 options (6478).
If there isn’t any way of doing this that’s fine as long as someone can guide me in the direction I need to go towards.
Like if I could do something like currentCode = option1, option2, option3, option4;
That would be great but that doesnt seem to be the case
There is no need to consider this as far as the specifics of the coding go. Only for display purposes.
You can do something like this, however, using an Array