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

AltNames: This entity is also tied to
Bug:Also fires when countdown finished.
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) (→Inputs) Tag: Reverted |
||
Line 12: | Line 12: | ||
{{I|start|param=void|Start the countdown.}} | {{I|start|param=void|Start the countdown.}} | ||
{{I|stop|param=void|Stop the countdown.}} | {{I|stop|param=void|Stop the countdown.}} | ||
{{note|Both takes a [[float]] value in original [[FGD]]. In the game itself | {{note|Both takes a [[float]] value in original [[FGD]]. In the game itself don't take any value.}} | ||
==Outputs== | ==Outputs== |
Revision as of 07:04, 29 December 2024

material_timer
is a point 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.
Represented by class CMaterialCountdown
.

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.
