Wired Keypad
From GMod Wiki
Wiremod Tool | Back |
Function: | A numerical keypad compatible with Wire mod. |
Primary fire: | Spawns a keypad |
Secondary fire: | Welds a keypad to target. |
Reload: | No action |
Notes: | This is NOT available in the SVN. Download it here. |
Brief
A standard keypad that can output various values based on whether an entered code is correct or incorrect.
Instructions
Enter a 1-4 digit code using digits 1-9 for your Keypad in the tool's control panel. You can also specify what value you want it to output for a correct or incorrect code. Spawn using Primary fire or weld it to whatever you are aiming at using Secondary.
Inputs
N/A
Outputs
Output:Valid outputs a value set in the Keypad's settings when the correct code is entered. Output:Invalid outputs a value set in the Keypad's settings when an incorrect code is entered.
Useful hints
A useful way to use this would be to have it open a door if you put in the correct code, or set off an invisible explosive if you get the code wrong.
Example
N/A