func_buildable_button
		
		
		
		
		
		Jump to navigation
		Jump to search
		
 
 
 
		
	

 

This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

This entity is not in the game by default, but got left over in the FGD.
This feature is not available anymore.
This feature is not available anymore.
func_buildable_button  is a   brush entity  available in  Left 4 Dead 2. It appears to be a brush based button similar to func_button_timed, intended to interface with VScripts instead of entity logic. It has likely been removed in favor of point_script_use_target.
 Left 4 Dead 2. It appears to be a brush based button similar to func_button_timed, intended to interface with VScripts instead of entity logic. It has likely been removed in favor of point_script_use_target.
Keyvalues
- Cumulative Use (is_cumulative_use) <choices>
- Whether to keep progress on the use time when the player releases the button.
- 0: No
- 1: Yes
 
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Origin:
- Origin (X Y Z) (origin) <origin>
- The position of this entity's center in the world. Rotating entities typically rotate around their origin.
Flags
- 2048 : Starts locked
Inputs
- Enable
- Enable the button, so it glows and can be used.
- Disable
- Disable the button, so it can't be used and doesn't glow.
Parentname:
- SetParent <string>
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string>
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string>
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
Outputs
- OnPressed
- Fired when the button is pressed.
- OnUnPressed
- Fired when the button is unpressed.
- OnTimeUp
- Fired when the button has been held more than the required amount of time.
- OnUseLocked
- Fired when the button is used while locked.























