Func button timed: Difference between revisions
Jump to navigation
Jump to search

Note:Other
No edit summary |
(Entity is also available in Jabroni Brawl) |
||
Line 1: | Line 1: | ||
{{LanguageBar}} | {{LanguageBar}} | ||
{{CD|CButtonTimed}} | {{CD|CButtonTimed}} | ||
{{This is a|brush entity|name=func_button_timed| | {{This is a|brush entity|name=func_button_timed|game=Left 4 Dead|game1=Left 4 Dead 2|game2=Jabroni Brawl: Episode 3}} It is a button that takes time to use. | ||
== Keyvalues == | == Keyvalues == |
Revision as of 11:49, 5 August 2025


![]() |
---|
CButtonTimed |
func_button_timed
is a brush entity available in Left 4 Dead,
Left 4 Dead 2, and
Jabroni Brawl: Episode 3. It is a button that takes time to use.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Use String (use_string) <string>
- The text/string that appears on the progress bar while the player is holding down use.
- Use Sub-String (use_sub_string) <string> (only in
)
- A sub-string that appears below the Use String.
- Auto-Disable On Time Up (auto_disable) <boolean>
- When the use timer is up, disable the button. (Can be enabled with an input)
Outputs
- OnTimeUp
- Fired when the button has been held more than the required amount of time.
- OnUnpressed
- Fired when the button is unpressed.

Keyvalues / Inputs / Outputs
are same as func_button.