Template:Tf2 brush
In code, it is represented by theCFuncRespawnRoomclass, defined in thefunc_respawnroom.cppfile.
Entity description
Designates a respawn room for a team.
Respawn rooms have the following properties:
- Gives players instant respawns when they change class or loadout.
- Blocks engineers from being able to build, similar to a func_nobuild entity.
- Forces players to drop carried item_teamflag entities.
- Forces players to drop active powerups.
- Grants MvM bots their spawn protection.
Keyvalues
TeamNum:
- Initial Team (TeamNum) <integer 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
Flags
- SetTeam <integerRedirectInput/integer>
- Changes the entity's team.
Inputs
Todo: Describe custom inputs.
- SetActive
- SetInactive
- ToggleActive
- RoundActivate
BaseTrigger
- Toggle
- Toggles this trigger between enabled and disabled states.
- Enable
- Enable trigger
- Disable
- Disable trigger
- TouchTest (in all games since
)
- Triggers either the OnTouching or OnNotTouching outputs for whether anything is touching this entity.
Bug:Sleeping prop_physics will never fire "OnTouching". Also applies to entities using prop_physics as base. (tested in: )
- StartTouch (in all games since
) !FGD
- Behave as if the !caller entity had just entered the trigger volume. Accepts non-physical entities.
- EndTouch (in all games since
) !FGD
- Behave as if !caller had just exited the trigger volume.
- DisableAndEndTouch (only in
 )
- Disables this trigger and calls EndTouch on all currently-touching entities.
|
Toggle:
- Toggle
- Toggle the enabled/disabled status of this entity.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs