tf_zombie_spawner

From Valve Developer Community
Jump to navigation Jump to search

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>
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 <string>
Set the maximum amount of skeletons this entity can spawn.


Outputs