Difference between revisions of "Player respawn zone"

From Sven Co-op
Jump to navigation Jump to search
(Import of converted entguide pages from Sven Manor.)
 
m (More detailed info about keys)
 
Line 4: Line 4:
 
}}
 
}}
  
This brush entity respawns all players inside or outside of it, without modifying the players' inventory, except they were dead in the moment of triggering.
+
This brush entity functions the same as [[trigger_respawn]] which respawns players to any active spawn point when triggered, but only filters for players in or outside the zone in the moment of triggering. Player's inventory is left unmodified.
 
 
 
== Keyvalues ==
 
== Keyvalues ==
  
{{Entity_keyvalue|Zone type|zonetype|Set whether to respawn all players that are inside or outside of this entity when it is triggered.}}
+
{{Entity_keyvalue|Zone type|zonetype|Set whether to respawn all players that are inside or outside of this entity when it is triggered.<br>Possible options:
 +
* <code>0</code> Respawn all outside: When triggered, only players outside the player_respawn_zone brush are respawned at the time of trigger, players within the brush are ignored.
 +
* <code>1</code> Respawn all inside: When triggered, only players inside the player_respawn_zone brush are respawned at the time of trigger, players outside the brush are ignored.
 +
}}
  
 
{{entity_title}}
 
{{entity_title}}

Latest revision as of 17:20, 24 March 2023

player_respawn_zone
Type

brush

Status

supported

 


This brush entity functions the same as trigger_respawn which respawns players to any active spawn point when triggered, but only filters for players in or outside the zone in the moment of triggering. Player's inventory is left unmodified.

Keyvalues

Zone type : zonetype

Set whether to respawn all players that are inside or outside of this entity when it is triggered.
Possible options:

  • 0 Respawn all outside: When triggered, only players outside the player_respawn_zone brush are respawned at the time of trigger, players within the brush are ignored.
  • 1 Respawn all inside: When triggered, only players inside the player_respawn_zone brush are respawned at the time of trigger, players outside the brush are ignored.