Wired Button

From GMod Wiki

Jump to: navigation, search
Wire Icon.png Wiremod ToolYarin Kaul Icon ArrowSquare32 left.png Back
Information 16x16.png Function:Outputs a value when it is pressed.
link=User:{{{author}}} Primary fire:Creates or updates a button.
Wrench orange.png Secondary fire:No action
Link break.png Reload:No action
Page white text.png Notes:-

Brief

Wired buttons works almost the same way as the usual Garry's mod buttons, Wired buttons just work with the Wire Addon.

Inputs

Set: Sets the state of a toggle button(1=on,0=off)

Outputs

Set in the variables The button has one output. 'on' or 'off'

All available buttons.

Variables

Useful hints

Buttons are great for testing out small components of more complex wired contraptions. You can use them to detonate a Wired Explosive, start/stop/reset a timer, power thrusters, etc.

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox