Item teamflag

From Valve Developer Community
Revision as of 19:46, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

Template:Wrongtitle

A team flag, don't worry its supposed to look like that.

Entity description

Team Fortress 2 flag entity.

Availability

This point entity is exclusive to Team Fortress 2.

Keywords

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
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.
  • 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

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.

See also