Item teamflag: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (flags rem)
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=item_teamflag}}
{{wrongtitle|title=item_teamflag}}
[[Image:Item Flag tf.JPG|thumb|right|200px|A team flag, don't worry its supposed to look like that.]]
{{toc|left}}
 
[[Image:Item Flag tf.JPG|thumb|right|200px|A team flag, don't worry its supposed to look like that.]]{{clr}}
 
 
==Entity Description==
==Entity Description==
Team Fortress 2 flag entity.
Team Fortress 2 flag entity.
Line 29: Line 27:
|}
|}
* {{kv tfteam}}
* {{kv tfteam}}
* '''StartDisabled'''
* {{kv enabledisable}}
: <[[boolean]]>
<!--
<!--
==Flags==
==Flags==
Line 37: Line 34:
==Inputs==
==Inputs==
* {{i targetname}}
* {{i targetname}}
* '''Enable'''
* {{i enabledisable}}
: Enable this entity.
* '''Disable'''
: Disable this entity.
* '''SetTeam'''
* '''SetTeam'''
: <int> Sets the team of the entity. (0 = any, 2 = red, 3 = blu)
: <integer> Sets the team of the entity. (0 = any, 2 = red, 3 = blu)


==Outputs==
==Outputs==

Revision as of 09:34, 27 September 2007

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