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:
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user