Func regenerate: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Just one template is needed here.)
No edit summary
Line 7: Line 7:
* {{KV Targetname}}
* {{KV Targetname}}
* {{KV TFTeam}}
* {{KV TFTeam}}
* '''StartDisabled'''
{{KV|Start Disabled|boolean|If set, entity spawns disabled.}}
: <[[boolean]]>
{{KV|Associated Model|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.}}
* '''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.


== Flags ==
== Flags ==
Line 17: Line 15:
== Inputs ==
== Inputs ==
* {{I Targetname}}
* {{I Targetname}}
* '''SetTeam'''
* {{I EnableDisable}}
: <int> Changes the entity's team.
* {{I Toggle}}
* '''Enable'''
{{IO|SetTeam|Changes the entity's team.<br/>0: Any<br/>2: Red<br/>3: Blue|param=int}}
: Enable this entity.
* '''Disable'''
: Disable this entity.
* '''Toggle'''
: Toggle the enabled/disabled status of this entity.


== Outputs ==
== Outputs ==

Revision as of 13:01, 8 April 2012

Template:Tf2 brush

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.

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


Start Disabled ([todo internal name (i)]) <boolean>
If set, entity spawns disabled.
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.

Flags

This entity doesn't have any flags.

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.
0: Any
2: Red
3: Blue

Outputs