Button keypad: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(The button_keypad prefab.)
 
m (added category)
Line 10: Line 10:


{{tip|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.}}
{{tip|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.}}
[[Category:Prefabs]]

Revision as of 11:30, 28 August 2006

Template:Wrongtitle

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.