Entity spawn manager: Difference between revisions
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}} | ||
Manages a system of random spawn points {{ent|entity_spawn_point}}. | |||
Manages a system of random spawn points | |||
==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?}} | ||
== | == See Also == | ||
{{ | * {{ent|entity_spawn_point}} | ||
Revision as of 15:18, 25 September 2024


![]() |
---|
CEntitySpawnManager |
![]() |
entity_spawn_manager
is a point entity available in 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
ortarget
).
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?