Item teamflag

From Valve Developer Community
Revision as of 17:49, 27 June 2008 by 4-Legged Tumor (talk | contribs) (→‎Inputs: Blue for consistency (and it says "blue" not "blu" in fgd))
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

<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

Inputs

<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