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

Note:Other
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Use Time|intn=use_time|integer|The amount of time player must hold down [[use]], in seconds.}} | {{KV|Use Time|intn=use_time|integer|The amount of time player must hold down [[use]], in seconds.}} | ||
{{KV|Use String|intn=use_string|string|The text/string that appears on the progress bar while the player is holding down use. }} | {{KV|Use String|intn=use_string|string|The text/string that appears on the progress bar while the player is holding down use. }} | ||
{{KV|Use Sub-String|intn=use_sub_string|string|A sub-string that appears below the Use String. }} | {{KV|Use Sub-String|intn=use_sub_string|string|A sub-string that appears below the Use String.|only={{l4d2}}}} | ||
{{KV|Auto-Disable On Time Up|intn=auto_disable|boolean|When the use timer is up, disable the button. (Can be enabled with an input)}} | {{KV|Auto-Disable On Time Up|intn=auto_disable|boolean|When the use timer is up, disable the button. (Can be enabled with an input)}} | ||
== Outputs == | == Outputs == | ||
{{O|OnTimeUp|Fired when the button has been held more than the required amount of time.}} | {{O|OnTimeUp|Fired when the button has been held more than the required amount of time.}} | ||
{{O|OnUseLocked|Fired when the button is used while locked.}} | {{O|OnUseLocked|Fired when the button is used while locked.}} | ||
{{OtherKIO|func_button}} | |||
== See Also == | |||
* {{l4d2}}{{ent|point_script_use_target}} | |||
* {{ent|func_button}} |
Revision as of 07:11, 12 October 2024


![]() |
---|
CButtonTimed |
func_button_timed
is a brush entity available in Left 4 Dead series. 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.
- OnUseLocked
- Fired when the button is used while locked.

Keyvalues / Inputs / Outputs
are same as func_button.