tf_robot_destruction_robot_spawn

From Valve Developer Community
Jump to: navigation, search

<Team Fortress 2> tf_robot_destruction_robot_spawn is a point entity available in Team Fortress 2.

Entity description

A robot spawn point for the robot destruction game mode.

Keyvalues

Targetname:

Name <string>
The targetname that other entities refer to this entity by.
Entity Scripts <scriptlist> (New with Left 4 Dead 2)
Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.
Script think function <string> (New with Left 4 Dead 2)
Name of a function in this entity's script which will be called automatically every 100 milliseconds (ten times a second) for the duration of the script. It can be used to create timers or to simulate autonomous behavior. The return value (if present) will set the time until the next call.
Note:Try to avoid expensive operations in this function, as it may cause performance problems.

Angles:

Pitch Yaw Roll (Y Z X) <angle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
gibs <integer>
The amount of cores the robot will drop on death
health <integer>
The health of the robot
spawngroup <targetname>
The spawn group it belongs to
startpath <targetname>
The path_track to start at
type <integer>
Which type of robot it will spawn
  • 0 : A Robot
  • 1 : B Robot
  • 2 : C Robot

Inputs

Outputs