Tf zombie spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed skeleton count into integer value)
(Fixed up the horrendous state of this page)
Line 1: Line 1:
{{tf2 point|tf_zombie_spawner}}
{{tf2 point|tf_zombie_spawner}}
==Entity description==
==Entity description==
This entity will spawn skeletons in certain user placed areas.
Entity that spawns [[tf_zombie|skeletons]].
 
 
==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV|Skeleton Lifetime |string|Skeleton Lifetime in seconds. 0 means skeletons will stay alive until they are dead.}}
{{KV|Skeleton Lifetime |string|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 |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 |bool|If Yes, keep spawning skeletons to have skeleton count in the world. If no, only spawn skeletons up to skeleton count.}}
{{KV|Skeleton type |Normal,King|Type of skeleton.}}
{{KV|Skeleton type |choices|Type of skeleton.}}
 
:* 0 : Normal
==Flags==
:* 1 : King
 
* 1 : ???? (Checked by default)


==Inputs==
==Inputs==
{{I Targetname}}
{{I Targetname}}
{{IO|SetMaxActiveZombies|Set the maximum amount of skeletons the entity can spawn.|param=string|}}
{{IO|Enable|Enable the spawner.}}
{{IO|Disable|Disable the spawner.}}
{{IO|SetMaxActiveZombies|Set the maximum amount of skeletons this entity can spawn.|param=string}}




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

Revision as of 12:50, 19 July 2018

Team Fortress 2 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 ([todo internal name (i)]) <string>
Skeleton life time in seconds. 0 means skeletons will stay alive until they're dead.
Skeleton Count ([todo internal name (i)]) <integer>
Number of skeletons this point can have active in the world.
Infinite Spawn ([todo internal name (i)]) <boolean>
If Yes, keep spawning skeletons to have skeleton count in the world. If no, only spawn skeletons up to skeleton count.
Skeleton type ([todo internal name (i)]) <choices>
Type of skeleton.
  • 0 : Normal
  • 1 : King

Inputs

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


Outputs