Func regenerate: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{entity|func_regenerate|type=e2|game=Team Fortress 2}}
{{this is a|e2|name=func_regenerate|game=Team Fortress 2}}


== Entity description ==
== Entity description ==

Revision as of 10:56, 4 January 2024

func_regenerate is an e2 available in Team Fortress 2 Team Fortress 2.

Entity description

Designates a resupply area for a team. This is the functional part of a resupply cabinet; it restores full health and ammunition to all players on its team who cross into its bounds.

Note.pngNote:Does not function in Arena mode.
Note.pngNote:Filters only work for outputs.

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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
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


Associated Model ([todo internal name (i)]) <targetname>
The prop_dynamic that represents this zone in the world. The associated model should have appropriate open and close animations for when players interact with the zone.

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.
SetTeam <integerRedirectInput/integer>
Changes the entity's team.

Outputs