tf_robot_destruction_spawn_group

From Valve Developer Community
Jump to: navigation, search

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

Entity description

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

Keyvalues

Name (targetname) <string>
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