Func croc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(New Outputs + filtering)
(picture)
Line 1: Line 1:
[[File:Yetipark_2.jpg|thumb|cp_mercenarypark's crocodiles]]
{{tf2 brush|func_croc}}
{{tf2 brush|func_croc}}


Crocs live here!
Crocs live here!


==Keyvalues==
==Keyvalues==

Revision as of 00:14, 17 April 2018

cp_mercenarypark's crocodiles

Template:Tf2 brush

Crocs live here!



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

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


Filter Name ([todo internal name (i)]) <filter>
A filter entity to test potential activators against.

Inputs

EnableDisable:

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

Outputs

OnEat
Fired when the entity consumes a player.
OnEatRed
Fired when the entity consumes a player on the RED team.
OnEatBlue
Fired when the entity consumes a player on the BLU team.