Hello all you Doom Gurus!
I noticed that the script in the ZDoom Wiki for "GetPlayerInput", (particularly for the access code example) did not work right.
In fact, I couldn't get it to work at all...
So, I studied it for hours, trying to figure out how to correct it, but eventually realized that it was just too damned flawed!!!
However, I did learn a bit from it.
So, now I present to you a working example of a three digit lock, used to activate a door!!!
The current access code in the script is 783, to unlock the door.
But, you can change the access code combination to whatever you like, in the script editor.
Don't forget to set the arguments accordingly on the calling linedefs, if you decide to change anything!
You can download this example from here:https://github.com/Rick4574/RS-Doom-Modding
Or, click the link below.
You do not have the required permissions to view the files attached to this post.