Game forcerespawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Just one template is needed here too.)
No edit summary
Line 1: Line 1:
{{Tf2 point|game_forcerespawn}}
{{Tf2 point|game_forcerespawn}}


==Entity Description==
==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).


Line 11: Line 11:


==Inputs==
==Inputs==
* {{I Targetname}}
{{I Targetname}}
* '''ForceRespawn'''
* '''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..
Line 18: Line 18:


==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]]

Revision as of 14:49, 11 March 2014

Team Fortress 2 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).

Outputs

  • OnForceRespawn
Sent when the entity respawns the players.