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.) |
m (add intn) |
||
(One intermediate revision by one other user not shown) | |||
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 name|intn=entity_name|string|This is the name of the entity class we are supposed to spawn.}} | ||
{{KV|Respawn time| | {{KV|Entity count|intn=entity_count|integer|This is the total number of entities the manager will attempt to spawn at any given time.}} | ||
{{KV|Drop to ground | {{KV|Respawn time|intn=respawn_time|integer|How many seconds after pickup/destruction/removal a new entity should be spawned.}} | ||
{{KV|Random rotation | {{KV|Drop to ground|intn=drop_to_ground|boolean|Should entities spawn on the ground beneath the [[entity_spawn_point]] or float at its location?}} | ||
{{KV|Random rotation|intn=random_rotation|boolean|Should entities be rotated to random angles upon spawn?}} | |||
== | == See Also == | ||
{{ | * {{ent|entity_spawn_point}} | ||
Latest revision as of 10:03, 23 December 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 name (entity_name) <string>
- This is the name of the entity class we are supposed to spawn.
- Entity count (entity_count) <integer>
- This is the total number of entities the manager will attempt to spawn at any given time.
- Respawn time (respawn_time) <integer>
- How many seconds after pickup/destruction/removal a new entity should be spawned.
- Drop to ground (drop_to_ground) <boolean>
- Should entities spawn on the ground beneath the entity_spawn_point or float at its location?
- Random rotation (random_rotation) <boolean>
- Should entities be rotated to random angles upon spawn?