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
Terminal Numpad Help
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#6
RE: Terminal Numpad Help

You didn't put StationGui_Numpad as the expression of an if statement. StationGui_Numpad returns true on the frame when the OK button is pressed. The way you have it setup now, it is always checking sCode against your "1111" on every update (30 or so times per second) and that causes one of the two sounds to play every time, which is where the glitched sound is coming from.

Also, your Button_SetLocked function seems to be locking the button rather than unlocking it. I'm not sure if that was your intention, but it might be what is causing you to believe the code isn't working. To unlock the button, use Button_SetLocked("panel_laboratory_11", false, true);
07-22-2016, 06:59 PM
Find


Messages In This Thread
Terminal Numpad Help - by i3670 - 07-21-2016, 09:22 PM
RE: Terminal Numpad Help - by Abion47 - 07-21-2016, 09:45 PM
RE: Terminal Numpad Help - by i3670 - 07-21-2016, 09:49 PM
RE: Terminal Numpad Help - by Abion47 - 07-21-2016, 10:00 PM
RE: Terminal Numpad Help - by i3670 - 07-21-2016, 10:18 PM
RE: Terminal Numpad Help - by Abion47 - 07-22-2016, 06:59 PM
RE: Terminal Numpad Help - by i3670 - 07-22-2016, 11:44 PM



Users browsing this thread: 1 Guest(s)