Tf spawner: Difference between revisions
Jump to navigation
Jump to search
(Added info) |
m (Substituted IO templates) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{this is a|point entity|game=Team Fortress 2|name=tf_spawner}} | ||
==Entity description== | ==Entity description== | ||
Line 9: | Line 9: | ||
{{KV|Max Active|integer|Maximum number of simultaneous active entities created by this spawner.}} | {{KV|Max Active|integer|Maximum number of simultaneous active entities created by this spawner.}} | ||
{{KV|Interval|float|Time (in seconds) between spawns}} | {{KV|Interval|float|Time (in seconds) between spawns}} | ||
{{KV|Template to spawn entities from | {{KV|Template to spawn entities from|target_destination|Template to spawn entities from}} | ||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | {{I Targetname}} | ||
{{I EnableDisable}} | {{I EnableDisable}} | ||
{{ | {{I|Reset|Reset spawner to initial state}} | ||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | {{O Targetname}} | ||
{{ | {{O|OnSpawned|Sent when an entity has spawned into the environment}} | ||
{{ | {{O|OnExpended|Sent when the spawner has reached its allowed total of entities spawned}} |
Latest revision as of 07:53, 21 April 2025
tf_spawner
is a point entity available in Team Fortress 2.
Entity description
An entity that spawns templatized entities.
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
- Count count ([todo internal name (i)]) <integer>
- Total number of entities to spawn over the lifetime of this spawner.
- Max Active ([todo internal name (i)]) <integer>
- Maximum number of simultaneous active entities created by this spawner.
- Template to spawn entities from ([todo internal name (i)]) <targetname>
- Template to spawn entities from
Inputs
EnableDisable:
- Enable / Disable
- 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