Button keypad: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added category)
(Added a picture)
Line 1: Line 1:
{{wrongtitle|title=button_keypad}}
{{wrongtitle|title=button_keypad}}
[[Image:Prefab button keypad.png|thumb|200px|right|Prefab button keypad]]


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 04:19, 30 August 2006

Template:Wrongtitle

File:Prefab button keypad.png
Prefab button keypad

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.