Func flag alert: Difference between revisions
Jump to navigation
Jump to search

m (Compare with) |
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.) |
||
(7 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}}{{this is a|brush entity|name=func_flag_alert|game=Team Fortress 2}} | ||
== Entity description == | == Entity description == | ||
Alerts are triggered when an enemy carrying a flag starts touching the area (or any player for an area with no team). Compare with [[ | Alerts are triggered when an enemy carrying a flag starts touching the area (or any player for an area with no team). Compare with [[func_flagdetectionzone]]. | ||
== Keyvalues == | == Keyvalues == | ||
Line 9: | Line 9: | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV TFTeam}} | {{KV TFTeam}} | ||
{{KV | {{KV StartDisabled}} | ||
== Inputs == | == Inputs == | ||
Line 18: | Line 18: | ||
== Outputs == | == Outputs == | ||
{{ | {{O|OnTriggeredByTeam1|Sent when RED triggers the alert.}} | ||
{{ | {{O|OnTriggeredByTeam2|Sent when BLUE triggers the alert.}} | ||
{{O Targetname}} | {{O Targetname}} |
Latest revision as of 17:55, 18 July 2025


func_flag_alert
is a brush entity available in Team Fortress 2.
Entity description
Alerts are triggered when an enemy carrying a flag starts touching the area (or any player for an area with no team). Compare with func_flagdetectionzone.
Keyvalues
- Delay between alerts (in seconds) ([todo internal name (i)]) <integer>
- The amount of time between alerts being triggered (per team).
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
TeamNum:
- Initial Team (TeamNum) <choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator/Halloween Souls
- 2: RED
- 3: BLU/Robots
- 5: Halloween Bosses (only in
) !FGD
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Toggle:
- Toggle
- Toggle the enabled/disabled status of this entity.
Outputs
- OnTriggeredByTeam1
- Sent when RED triggers the alert.
- OnTriggeredByTeam2
- Sent when BLUE triggers the alert.