tf_spawner
Jump to navigation
Jump to search
tf_spawner is a point entity available in
Team Fortress 2.
Entity description
An entity that spawns templatized entities.
Keyvalues
- Name (targetname) <string>
- 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
- Count (count) <integer>
- Total number of entities to spawn over the lifetime of this spawner.
- Max Active (maxActive) <integer>
- Maximum number of simultaneous active entities created by this spawner.
- Interval (interval) <float>
- Time (in seconds) between spawns
- Template to spawn entities from (template) <targetname>
- Template to spawn entities from
Inputs
EnableDisable:
- Enable / Disable <void>
- Enable/disable this entity from performing its task. It might also disappear from view.
- Reset
- Reset spawner to initial state
Outputs
- OnSpawned
- Sent when an entity has spawned into the environment
- OnExpended
- Sent when the spawner has reached its allowed total of entities spawned