How do I make a safe-deposit box locked with a password?

From OHRRPGCE-Wiki
Jump to: navigation, search

Unfortunately this is currently not possible without a great deal of advanced plotscripting. There are two parts to this question, and it is best to deal with each of them separately.

Item Storage[edit]

Requiring a Password[edit]

Note: this is not to be confused with the password you can put on your RPG file in custom

To prompt the player to input a password before they can open a box (or to require a password to open a door, or talk to a person), you need to use plotscripting strings. You can use the input string command to let the player type in a string. Then you can use the string compare command to see if the player typed in the correct password.