Game forcerespawn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | {{I Targetname}} | ||
{{IO|ForceRespawn|Force players to respawn and remove buildings, grenades, etc., from the world..}} | |||
{{IO|ForceRespawnSwitchTeams|Switch all players to the opposite team, and then respawn all players (and remove buildings, grenades, etc., from the world).}} | |||
{{IO|ForceTeamRespawn|Force players on a specific team to respawn. 2 for Red, 3 for Blue. This does NOT remove buildings, grenades, etc., from the world...|param=integer}} | |||
==Outputs== | ==Outputs== |
Revision as of 17:37, 10 June 2015
game_forcerespawn
is a point entity available in 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
ortarget
).
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 <integer >
- Force players on a specific team to respawn. 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.