I was trying to make something like this:
- The player hits ENTER
- types in password (ex: opossum)(the textbox will be hidden)
- hits ENTER again to confirm
- game does something
I found this tutorial but couldn't understand it at all.
Can anyone help me with the text box and how it works?
For example when I set:
Global Variable - Cheat (Initial value -1)
On ENTER pressed >>> set Cheat*(-1)
Cheat 1 >>> set Textbox focus
Cheat -1 >>> set Textbox Disable
When I press ENTER first, i can type in the text box, but after I press ENTER again it doesn't disable it. It works with F10 but not with ENTER for some reason.