The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sequence of buttons
ElectricRed Offline
Member

Posts: 106
Threads: 13
Joined: Jun 2012
Reputation: 5
#1
Sequence of buttons

Hi, in my custom story I have a safe and in order to open it I wanted to have the player enter a combination of buttons. I have a panel with 6 buttons on it, and there are 4 digits in the combination. If the player enters the wrong combination, I want a message to display saying "Nothing happened..." and have it reset. (So the player can't continuously press buttons until it works.)

What would be the easiest way to do this? Would someone be able to help me with an outline of the script required? Thanks!

- ElectricRed

[Image: 9lkjf4.jpg]

12-09-2012, 10:19 PM
Find


Messages In This Thread
Sequence of buttons - by ElectricRed - 12-09-2012, 10:19 PM
RE: Sequence of buttons - by xxxxxxxxxxxxxxxx - 12-10-2012, 12:53 AM
RE: Sequence of buttons - by ElectricRed - 12-10-2012, 03:47 AM
RE: Sequence of buttons - by Acies - 12-10-2012, 01:08 AM
RE: Sequence of buttons - by xxxxxxxxxxxxxxxx - 12-10-2012, 11:32 AM



Users browsing this thread: 1 Guest(s)