func_changeclass

From Valve Developer Community
Revision as of 09:33, 8 January 2024 by Thunder4ik (talk | contribs) (→‎top: Unicodifying, replaced: {{language subpage → {{langsp)
Jump to navigation Jump to search
English (en)Translate (Translate)

func_changeclass is an e2 available in Team Fortress 2 Team Fortress 2. It designates an instant class change room for a team.

Note.pngNote:func_respawnroom includes this function.

Keyvalues

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

Inputs

SetTeam <integerRedirectInput/integer>
Changes the entity's team.

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.

Outputs