Material timer: Difference between revisions
Jump to navigation
Jump to search

AltNames: This entity is also tied to
Bug:Also fires when countdown finished.
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified) |
MyGamepedia (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{This is a| | {{CDA|CMaterialCountdown|CBaseEntity|}} | ||
{{This is a|logical entity|name=material_timer|game=Black Mesa|sprite=Info_target.png}} This is a simple point entity that does a countdown (like buttons with timer in {{portal2|4}}) and fire outputs. It doesn't do anything with [[materials]] despite the [[classname]]. | |||
{{altnames|name1=env_material_timer}} | {{altnames|name1=env_material_timer}} |
Latest revision as of 23:56, 26 May 2025
![]() |
---|
CMaterialCountdown |

material_timer
is a logical entity available in Black Mesa. This is a simple point entity that does a countdown (like buttons with timer in
Portal 2) and fire outputs. It doesn't do anything with materials despite the classname.

env_material_timer
. 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
- Length (radius) <float>
- Length of countdown.
Inputs
- start <void>
- Start the countdown.
- stop <void>
- Stop the countdown.
Outputs
- OnStart
- Fires when countdown is started.
- OnFinish
- Fires when countdown is finished successfully.
- OnStop
- Fires when countdown is stoped by stop input.
