Item teamflag

From Valve Developer Community
Revision as of 05:56, 27 September 2007 by Baliame (talk | contribs) (formatting fix)
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

Team Fortress 2 flag entity.

Availability

This point entity is exclusive to Team Fortress 2.

Keywords

<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
<boolean>

Flags

This entity doesn't have any flags.

Inputs

Enable this entity.
  • Disable
Disable this entity.
  • SetTeam
<int> Sets the team of the entity. (0 = any, 2 = red, 3 = blu)

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.