Item teamflag: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (why glossary? :-))
Line 2: Line 2:
{{toc|left}}
{{toc|left}}
[[Image:Item Flag tf.JPG|thumb|right|200px|A team flag, don't worry its supposed to look like that.]]{{clr}}
[[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.


==Availability==
== Availability ==
This point [[entity]] is exclusive to Team Fortress 2.
This point [[entity]] is exclusive to Team Fortress 2.


==Keywords==
== Keywords ==
* {{kv targetname}}
* {{kv targetname}}
* {{kv angles}}
* {{kv angles}}
Line 29: Line 29:
* {{kv enabledisable}}
* {{kv enabledisable}}
<!--
<!--
==Flags==
== Flags ==
This entity doesn't have any flags.
This entity doesn't have any flags.
-->
-->
==Inputs==
== Inputs ==
* {{i targetname}}
* {{i targetname}}
* {{i enabledisable}}
* {{i enabledisable}}
Line 40: Line 40:
: <integer> 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 ==
* {{o targetname}}
* {{o targetname}}
* '''OnReturn'''
* '''OnReturn'''
Line 50: Line 50:
* '''OnCapture'''
* '''OnCapture'''
: Sent when the flag is captured.
: Sent when the flag is captured.
[[Category:Team Fortress 2 Entities]]


== See also ==
== See also ==
* [[func_capturezone]]
* [[func_capturezone]]


[[Category:Glossary]]
[[Category:Team Fortress 2 Entities]]

Revision as of 11:46, 30 January 2008

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

See also