Item teamflag: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 10: Line 10:
== Keywords ==
== Keywords ==
* {{kv targetname}}
* {{kv targetname}}
* {{kv angles}}
* {{KV Angles}}
* '''GameType'''
* '''GameType'''
: <choices> Type of game this flag will be used for.
: <choices> Type of game this flag will be used for.

Revision as of 19:42, 19 January 2009

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

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