func_respawnroom
Class hierarchy |
---|
CFuncRespawnRoom |
func_respawnroom.cpp
|
func_respawnroom
is a brush entity available in Team Fortress 2.
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
- Name
(targetname)
<string> - 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
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
Todo: Describe custom inputs.
SetActive
SetInactive
ToggleActive
RoundActivate
|
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
Bug:Spamming crouch jumps in a trigger can randomly fire OnStartTouch . Confirm:Is it a Multiplayer issue only? [todo tested in?]
Warning:This includes entities which are deleted while inside the trigger. In this case !activator will be invalid.
Warning:
OnEndTouch can fire before OnStartTouch under certain circumstances where both are fired on the same tick and each have the same delay. Fix:Add a slight delay to OnEndTouch .Bug:Spamming crouch jump in a trigger can randomly fire OnEndTouch . Confirm:Is it a Multiplayer issue only? [todo tested in?]
|