Func changeclass: 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:
{{lang|{{PAGENAME}}}}
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|{{PAGENAME}}}}{{this is a|e2|name=func_changeclass|game=Team Fortress 2}} It designates an instant class change room for a team.
{{entity|func_changeclass|type=e2|game=Team Fortress 2}} It designates an instant class change room for a team.
{{note|{{ent|func_respawnroom}} includes this function.}}
{{note|{{ent|func_respawnroom}} includes this function.}}



Revision as of 10:50, 4 January 2024

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