Template:Tfitem: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎Keywords: Removed bullet points that cause odd formatting glitches)
Line 1: Line 1:
==Keywords==
==Keywords==
* {{KV Targetname}}
{{KV Targetname}}
* {{KV Angles}}
{{KV Angles}}
* {{KV TFTeam}}
{{KV TFTeam}}
* {{KV EnableDisable}}
{{KV EnableDisable}}


==Inputs==
==Inputs==

Revision as of 14:06, 26 April 2018

Keywords

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

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
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.
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


Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

  • EnableDisable:
Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
  • Toggle
Toggles the enabled/disabled status of the entity.

Outputs

  • OnPlayerTouch
Sent when the entity is picked up by a player.