Tf robot destruction spawn group: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(another RD entity)
 
Line 15: Line 15:


==Outputs==
==Outputs==
{{IO|OnAllRobotsDead}}
{{IO|OnAllRobotsDead|Fires when all of the robots of the group are destroyed}}
{{IO|OnRobotsRespawn}}
{{IO|OnRobotsRespawn|Fires when all of the robots of the group respawn}}

Revision as of 22:19, 4 August 2014

Team Fortress 2 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>[ 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