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

(note powerup behavior) |
(Update information and add {{lang}}.) |
||
Line 1: | Line 1: | ||
{{lang|func_respawnroom}} | |||
{{tf2 brush|func_respawnroom}} | {{tf2 brush|func_respawnroom}} | ||
{{code class|CFuncRespawnRoom|func_respawnroom.cpp}} | |||
==Entity description== | ==Entity description== | ||
Designates a respawn room for a team. | Designates a respawn room for a team. | ||
Respawn rooms have the following properties: | Respawn rooms have the following properties: | ||
* Gives players instant respawns when they change class | * Gives players instant respawns when they change class or loadout. | ||
* Blocks engineers from | * Blocks engineers from being able to build, similar to a {{ent|func_nobuild}} entity. | ||
* Forces players to drop | * Forces players to drop carried {{ent|item_teamflag}} entities. | ||
* Forces players to drop [[info_powerup_spawn|powerups]] | * Forces players to drop active [[info_powerup_spawn|powerups]]. | ||
* Grants MvM bots their spawn protection | * Grants MvM bots their spawn protection. | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV TFTeam}} | {{KV TFTeam}} | ||
{{KV BaseEntity}} | |||
==Flags== | ==Flags== | ||
Line 21: | Line 21: | ||
==Inputs== | ==Inputs== | ||
{{I | {{todo|Describe custom inputs.}} | ||
{{I | {{IO|SetActive}} | ||
{{IO|SetInactive}} | |||
{{IO|ToggleActive}} | |||
{{IO|RoundActivate}} | |||
{{I Trigger}} | |||
{{I Toggle}} | |||
{{I EnableDisable}} | {{I EnableDisable}} | ||
{{I | {{I BaseEntity}} | ||
==Outputs== | ==Outputs== | ||
{{O | {{O BaseEntity}} |
Revision as of 18:52, 10 November 2021


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) <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
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.