tf_robot_destruction_spawn_group

From Valve Developer Community
Revision as of 09:12, 7 January 2024 by WisdomBot (talk | contribs) (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Jump to navigation Jump to search

tf_robot_destruction_spawn_group is an e0 available in Team Fortress 2 Team Fortress 2.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

Entity description

The control entity for each of the robot groups in the robot destruction game mode.

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

groupnumber ([todo internal name (i)]) <integer>
Which robot group it is (one indexed)
hud_icon ([todo internal name (i)]) <material>
The material for the HUD
respawn_time ([todo internal name (i)]) <integer>
How long it takes for the group to respawn
TeamNum:
Initial Team (TeamNum) <choices>
Which Team the entity belongs / is assigned to on spawn
  • 0: None
  • 1: Spectator/Halloween Souls Team Fortress 2
  • 2: RED Team Fortress 2
  • 3: BLU/Robots Team Fortress 2
  • 5: Halloween Bosses (only in Team Fortress 2) !FGD


Inputs

Outputs

OnAllRobotsDead
Fires when all of the robots of the group are destroyed
OnRobotsRespawn
Fires when all of the robots of the group respawn