Button keypad: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added a picture)
m (Updated the picture.)
Line 1: Line 1:
{{wrongtitle|title=button_keypad}}
{{wrongtitle|title=button_keypad}}


[[Image:Prefab button keypad.png|thumb|200px|right|Prefab button keypad]]
[[Image:Prefab button keypad.jpg|thumb|200px|right|A dissected button_keypad prefab.]]


A [[prefab]] located in the ''Prefabs HL2'' folder, containing a keypad setup.
A [[prefab]] located in the ''Prefabs HL2'' folder, containing a keypad setup.

Revision as of 09:32, 30 August 2006

Template:Wrongtitle

A dissected button_keypad prefab.

A prefab located in the Prefabs HL2 folder, containing a keypad setup.

This prefab includes the following:

When pressed, the func_button is setup to make a sound and make the model briefly display "*ERROR*" through toggling its skin.

Tip.pngTip:By changing the sound of the func_button, changing the skin to be switched to to 1 instead of 2, and adding an output to another entity, you can easily have the keypad grant access to something instead.