Button keypad: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		 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.
		
	
|  (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
A prefab located in the Prefabs HL2 folder, containing a keypad setup.
This prefab includes the following:
- A prop_dynamic using the models/props_lab/keypad.mdl model.
- A func_button.
When pressed, the func_button is setup to make a sound and make the model briefly display "*ERROR*" through toggling its skin.
 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.