Func changeclass: Difference between revisions
Jump to navigation
Jump to search

Note:func_respawnroom includes this function.
m (Robot: fixing template case.) |
SirYodaJedi (talk | contribs) No edit summary |
||
(15 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
== | {{CD|CChangeClassZone|nolink=1|file1=func_changeclass.cpp}} | ||
{{this is a|brush entity|name=func_changeclass|game=Team Fortress 2}} It designates an instant class change room for a team. | |||
{{note|{{ent|func_respawnroom}} includes this function.}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | |||
{{KV StartDisabled}} | |||
{{KV TeamNum|tf2=1}} | |||
==Inputs== | ==Inputs== | ||
{{I TFTeam}} | |||
{{I EnableDisable}} | |||
{{I Toggle}} | |||
Latest revision as of 07:39, 4 June 2025


![]() |
---|
CChangeClassZone |
![]() |
func_changeclass
is a brush entity available in Team Fortress 2. It designates an instant class change room for a team.

Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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 the
Enable
input).
TeamNum:
- Initial Team (TeamNum) <choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator/Halloween Souls
- 2: RED
- 3: BLU/Robots
- 5: Halloween Bosses (only in
) !FGD
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.