This article relates to the game "Team Fortress 2". Click here for more information.

Game forcerespawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (→‎Inputs: Substituted IO templates)
 
(13 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{wrongtitle|title=game_forcerespawn}}
{{TF2 topicon}}
==Entity Description==
{{this is a|point entity|game=Team Fortress 2|name=game_forcerespawn}}
 
==Entity description==
Removes buildings, grenades, etc., from the world and forces all players to respawn (without being killed).
Removes buildings, grenades, etc., from the world and forces all players to respawn (without being killed).
==Availability==
This point [[entity]] is exclusive to Team Fortress 2.


==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{KV Targetname}}


==Flags==
==Flags==
Line 13: Line 12:


==Inputs==
==Inputs==
* {{i targetname}}
{{I Targetname}}
* '''ForceRespawn'''
{{I|ForceRespawn|Force players to respawn and remove buildings, grenades, etc., from the world..}}
: Force players to respawn and remove buildings, grenades, etc., from the world..
{{I|ForceRespawnSwitchTeams|Switch all players to the opposite team, and then respawn all players (and remove buildings, grenades, etc., from the world).}}
* '''ForceRespawnSwitchTeams'''
{{I|ForceTeamRespawn|Force dead players on a specific team to respawn (does not effect living players). 2 for Red, 3 for Blue. This does NOT remove buildings, grenades, etc., from the world...|param=integer}}
: Switch all players to the opposite team, and then respawn all players (and remove buildings, grenades, etc., from the world).


==Outputs==
==Outputs==
* {{o targetname}}
{{O Targetname}}
* '''OnForceRespawn'''
* '''OnForceRespawn'''
: Sent when the entity respawns the players.
: Sent when the entity respawns the players.
[[Category:Team Fortress 2 Entities]]

Latest revision as of 19:34, 20 April 2025

game_forcerespawn is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

Removes buildings, grenades, etc., from the world and forces all players to respawn (without being killed).

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Flags

This entity doesn't have any flags.

Inputs

ForceRespawn
Force players to respawn and remove buildings, grenades, etc., from the world..
ForceRespawnSwitchTeams
Switch all players to the opposite team, and then respawn all players (and remove buildings, grenades, etc., from the world).
ForceTeamRespawn <integerRedirectInput/integer>
Force dead players on a specific team to respawn (does not effect living players). 2 for Red, 3 for Blue. This does NOT remove buildings, grenades, etc., from the world...

Outputs

  • OnForceRespawn
Sent when the entity respawns the players.