1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Containment: add alive player in zone count HUD

This commit is contained in:
Jbleezy
2023-11-29 20:43:57 -08:00
parent 686383553d
commit 231f878524
2 changed files with 6 additions and 0 deletions

View File

@ -852,6 +852,7 @@
* Zombies only go after players in the containment zone
* Zombies in the containment zone die when it moves
* Players in the containment zone gain 50 points when their team gains score
* Amount of players alive in the containment zone on each team shown on HUD
* Players respawn after being down for 10 seconds
* Players retain perks

View File

@ -2555,6 +2555,11 @@ containment_think()
}
}
foreach (team in level.teams)
{
grief_score_hud_set_player_count(team, in_containment_zone[team].size);
}
if(min(in_containment_zone["axis"].size, min_team_size) == min(in_containment_zone["allies"].size, min_team_size) && in_containment_zone["axis"].size > 0 && in_containment_zone["allies"].size > 0)
{
foreach(player in players)