Button keypad: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (minoro)
m (→‎top: Unicodifying, replaced: [[Image: → [[File:)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{wrongtitle|title=button_keypad}}
{{DISPLAYTITLE:button_keypad}}


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


'''button_keypad''' is a [[prefab]] located in the <code>Prefabs HL2</code> folder, containing a keypad setup.
'''button_keypad''' is a [[prefab]] located in the <code>Prefabs HL2</code> folder, containing a keypad setup.

Latest revision as of 00:14, 7 January 2024


A dissected button_keypad prefab.

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

This prefab is comprised of two entities

When pressed, the func_button is configured to make a specific sound and make the model briefly display "*ERROR*" message on the readout portion of skin.

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