Tf zombie spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (→‎Keyvalues: add internal names from tf.fgd)
Line 4: Line 4:
==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV|Skeleton Lifetime |string|Skeleton life time in seconds. 0 means skeletons will stay alive until they're dead.}}
{{KV|Skeleton Lifetime|intn=zombie_lifetime|float|Skeleton life time in seconds. 0 means skeletons will stay alive until they're dead.}}
{{KV|Skeleton Count |int|Number of skeletons this point can have active in the world.}}
{{KV|Skeleton Count|intn=max_zombies|int|Number of skeletons this point can have active in the world.}}
{{KV|Infinite Spawn |bool|If Yes, keep spawning skeletons to have skeleton count in the world. If no, only spawn skeletons up to skeleton count.}}
{{KV|Infinite Spawn|intn=infinite_zombies|choices|If Yes, keep spawning skeletons to have skeleton count in the world. If no, only spawn skeletons up to skeleton count.}}
{{KV|Skeleton type |choices|Type of skeleton.}}
:* 0 : No
:* 1 : Yes
{{KV|Skeleton type|intn=zombie_type|choices|Type of skeleton.}}
:* 0 : Normal
:* 0 : Normal
:* 1 : King
:* 1 : SKELETON KING


==Inputs==
==Inputs==

Revision as of 21:43, 5 October 2024

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