Tf zombie spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Keyvalues: add internal names from tf.fgd)
m (→‎Inputs: Substituted IO templates)
 
Line 15: Line 15:
==Inputs==
==Inputs==
{{I Targetname}}
{{I Targetname}}
{{IO|Enable|Enable the spawner.}}
{{I|Enable|Enable the spawner.}}
{{IO|Disable|Disable the spawner.}}
{{I|Disable|Disable the spawner.}}
{{IO|SetMaxActiveZombies|Set the maximum amount of skeletons this entity can spawn.|param=string}}
{{I|SetMaxActiveZombies|Set the maximum amount of skeletons this entity can spawn.|param=string}}




==Outputs==
==Outputs==
{{O Targetname}}
{{O Targetname}}

Latest revision as of 07:51, 21 April 2025

tf_zombie_spawner is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

Entity that spawns skeletons.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Skeleton Lifetime (zombie_lifetime) <float>
Skeleton life time in seconds. 0 means skeletons will stay alive until they're dead.
Skeleton Count (max_zombies) <integer>
Number of skeletons this point can have active in the world.
Infinite Spawn (infinite_zombies) <choices>
If Yes, keep spawning skeletons to have skeleton count in the world. If no, only spawn skeletons up to skeleton count.
  • 0 : No
  • 1 : Yes
Skeleton type (zombie_type) <choices>
Type of skeleton.
  • 0 : Normal
  • 1 : SKELETON KING

Inputs

Enable
Enable the spawner.
Disable
Disable the spawner.
SetMaxActiveZombies <stringRedirectInput/string>
Set the maximum amount of skeletons this entity can spawn.


Outputs