Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: mouldy on Sat 05/08/2006 09:54:55

Title: Safe Combo
Post by: mouldy on Sat 05/08/2006 09:54:55
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?  :-\
Title: Re: Safe Combo
Post by: R4L on Sat 05/08/2006 13:28:44
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.
Title: Re: Safe Combo
Post by: Colxfile on Sat 05/08/2006 15:16:36
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.
Title: Re: Safe Combo
Post by: mouldy on Mon 07/08/2006 09:36:15
Great thanks I'll give them a try.  ;)