Entity spawn manager: 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.)
(-added class hierarchy, cleanup)
Line 1: Line 1:
{{LanguageBar}}
{{CD|CEntitySpawnManager|nolink=1|file1=tf_entity_spawner.cpp}}
{{this is a|point entity|game=Team Fortress 2|name=entity_spawn_manager}}
{{this is a|point entity|game=Team Fortress 2|name=entity_spawn_manager}}


==Entity description==
Manages a system of random spawn points {{ent|entity_spawn_point}}.
Manages a system of random spawn points [[Entity_spawn_point]].


==Keyvalues==
== Keyvalues ==
{{KV Targetname}}
{{KV Targetname}}
{{KV|Entity count|integer|This is the total number of entities the manager will attempt to spawn at any given time.}}
{{KV|Entity count|integer|This is the total number of entities the manager will attempt to spawn at any given time.}}
Line 11: Line 12:
{{KV|Random rotation?|boolean|Should entities be rotated to random angles upon spawn?}}
{{KV|Random rotation?|boolean|Should entities be rotated to random angles upon spawn?}}


==Inputs==
== See Also ==
{{I Targetname}}
* {{ent|entity_spawn_point}}
 
==Outputs==
{{O Targetname}}

Revision as of 15:18, 25 September 2024

English (en)Translate (Translate)
C++ Class hierarchy
CEntitySpawnManager
CLogicalEntity
CServerOnlyEntity
CBaseEntity
C++ tf_entity_spawner.cpp

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

Manages a system of random spawn points entity_spawn_point.

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

Entity count ([todo internal name (i)]) <integer>
This is the total number of entities the manager will attempt to spawn at any given time.
Respawn time ([todo internal name (i)]) <float>
How many seconds after pickup/destruction/removal a new entity should be spawned.
Drop to ground? ([todo internal name (i)]) <boolean>
Should entities spawn on the ground beneath the entity_spawn_point or float at its location?
Random rotation? ([todo internal name (i)]) <boolean>
Should entities be rotated to random angles upon spawn?

See Also