func_passtime_goal

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

func_passtime_goal is a brush entity available in Team Fortress 2 Team Fortress 2.

Entity description

Players or passtime balls that touch this entity will cause a score for whichever team touches it. You can limit which teams are allowed to touch it.

Note.pngNote:The ball must be thrown or carried into the zone. If the ball touches the ground, it goes neutral and will not activate this trigger.

Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Origin:

Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
Start Disabled ([todo internal name (i)]) <boolean>
Start disabled.
TeamNum:
Initial Team (TeamNum) <choices>
Which Team the entity belongs / is assigned to on spawn
  • 0: None
  • 1: Spectator/Halloween Souls Team Fortress 2
  • 2: RED Team Fortress 2
  • 3: BLU/Robots Team Fortress 2
  • 5: Halloween Bosses (only in Team Fortress 2) !FGD


Points ([todo internal name (i)]) <float>
How many points the team gets for scoring here.

Flags

  • 1 : Scoring here wins the game
  • 2 : DO NOT let the ball score here
  • 4 : Let ball-carrying players score here
  • 8 : Show special locked status on HUD

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

TFTeam:

SetTeam <integer>
Changes the entity's Team keyvalue.

Outputs

OnScoreBlu
BLU scored. Useful for doing any effects specific to this goal.
OnScoreRed
RED scored. Useful for doing any effects specific to this goal.