I want to create a safe, but I want it when the player interacts with the safe they go to the keypad of the safe and they have to enter the right combination and the numbers the player presses show up it's four digits if the get it right the safe opens wrong then it stays shut and the player can try again what would be the best and easiest way to do this? :-\
Ugh...
Well the easiest way would be IMO to use a module found in the Technical Archive. The module is here:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23755.0
The module itself is the SpinLock Module and should work for this.
There are some bits on a keypad based combination code.
This one (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23795.0) was the first I came across, but it has a couple of further links in the thread.
Great thanks I'll give them a try. ;)