Wired Keypad

From GMod Wiki

Jump to: navigation, search
Wire Icon.png Wiremod ToolYarin Kaul Icon ArrowSquare32 left.png Back
Information 16x16.png Function:A numerical keypad compatible with Wire mod.
link=User:{{{author}}} Primary fire:Spawns a keypad
Wrench orange.png Secondary fire:Welds a keypad to target.
Link break.png Reload:No action
Page white text.png 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.

Wired Keypad

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

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox