Func passtime goal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added info)
 
mNo edit summary
Line 15: Line 15:
{{I Targetname}}
{{I Targetname}}
{{I EnableDisable}}
{{I EnableDisable}}
{{IO|SetTeam <[[integer]]>|Changes the entity's team.}}
{{I TFTeam}}


==Outputs==
==Outputs==

Revision as of 07:44, 8 June 2017

Template:Tf2 brush

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.

Keyvalues

Name (targetname) <string>[ Edit ]
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.
spawnflags ([todo internal name (i)]) <flags>
Spawn flags.

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
SetTeam <integerRedirectInput/integer>
Changes the entity's team.

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.