Item teamflag
Jump to navigation
Jump to search
Entity description
Team Fortress 2 flag entity.
Availability
This point entity is exclusive to Team Fortress 2.
Keywords
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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.
- GameType
- <choices> Type of game this flag will be used for.
Literal Value Description 0 CTF 1 Attack/Defend 2 Territory Control 3 Invade 4 King of the Hill
- TeamNum:
- Initial Team (TeamNum) <choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator/Halloween Souls
- 2: RED
- 3: BLU/Robots
- 5: Halloween Bosses (only in
) !FGD
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
- EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- Skin (not in fdg)
- <integer> Sets the skin of the entity. (1 = blue, 2 = red)
- SetTeam
- <integer> Sets the team of the entity. (0 = any, 2 = red, 3 = blue)
Outputs
- OnReturn
- Sent when the flag is returned via timer.
- OnPickup
- Sent when the flag is picked up.
- OnDrop
- Sent when the flag is dropped.
- OnCapture
- Sent when the flag is captured.