Func regenerate: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		 Note:Does not function in Arena mode.
Note:Does not function in Arena mode.
 Note:Filters only work for outputs.
Note:Filters only work for outputs.
 Note:
Note:
		
	
| mNo edit summary | SirYodaJedi (talk | contribs)  | ||
| (14 intermediate revisions by 12 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{this is a|brush entity|name=func_regenerate|game=Team Fortress 2}} | ||
| == Entity description == | ==Entity description== | ||
| Designates a resupply area for a team. | Designates a resupply area for a team. This is the functional part of a [[TF2/Resupply Areas|resupply cabinet]]; it restores full health and ammunition to all players on its team who cross into its bounds. | ||
| {{note|Does not function in Arena mode.}} | |||
| {{note|Filters only work for outputs.}} | |||
| == Keyvalues == | ==Keyvalues== | ||
| {{KV Targetname}} | |||
| {{KV StartDisabled}} | |||
| {{KV TFTeam}} | |||
| {{KV|Associated Model|intn=associatedmodel|target_destination|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.}} | |||
| {{Note|<code>OnStartTouch</code> and <code>OnEndTouchAll</code> outputs controlling open/close animations should not be defined when using this keyvalue, as they will cause animations to play twice.}} | |||
| ==  | ==Inputs== | ||
| {{I Targetname}} | |||
| {{I EnableDisable}} | |||
| {{I Toggle}} | |||
| {{I TFTeam}} | |||
| ==Outputs== | |||
| {{O Targetname}} | |||
| == Outputs == | |||
| [[Category:Team Fortress 2 Entities]] | [[Category:Team Fortress 2 Entities]] | ||
Latest revision as of 07:32, 4 June 2025
func_regenerate  is a   brush entity  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:Does not function in Arena mode.
Note:Does not function in Arena mode. Note:Filters only work for outputs.
Note: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. parentnameortarget).
 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:
- Associated Model (associatedmodel) <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.
 Note:
Note:OnStartTouch and OnEndTouchAll outputs controlling open/close animations should not be defined when using this keyvalue, as they will cause animations to play twice.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.