mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-08 06:12:17 -05:00
Search & Rezurrect: add all allies down message
This commit is contained in:
parent
4548ceb0f4
commit
fdd62975cc
@ -174,6 +174,9 @@ LANG_ENGLISH "Ally Down! [&&1 Remaining]"
|
||||
REFERENCE ZOMBIE_ZGRIEF_ALLY_REVIVED
|
||||
LANG_ENGLISH "Ally Revived! [&&1 Remaining]"
|
||||
|
||||
REFERENCE ZOMBIE_ZGRIEF_ALL_ALLIES_DOWN
|
||||
LANG_ENGLISH "All Allies Down!"
|
||||
|
||||
REFERENCE ZOMBIE_ZGRIEF_PLAYER_DEAD
|
||||
LANG_ENGLISH "Enemy Bled Out! [&&1 Remaining]"
|
||||
|
||||
|
@ -1246,7 +1246,7 @@ update_players_on_downed(excluded_player)
|
||||
{
|
||||
if (players_remaining == 0)
|
||||
{
|
||||
if (other_players_remaining >= 1)
|
||||
if (other_players_remaining > 0)
|
||||
{
|
||||
player thread show_grief_hud_msg(&"ZOMBIE_ZGRIEF_ALL_PLAYERS_DOWN");
|
||||
player thread show_grief_hud_msg(&"ZOMBIE_ZGRIEF_SURVIVE", undefined, 30, 1);
|
||||
@ -1262,7 +1262,14 @@ update_players_on_downed(excluded_player)
|
||||
{
|
||||
foreach (player in players)
|
||||
{
|
||||
player thread show_grief_hud_msg(&"ZOMBIE_ZGRIEF_ALLY_BLED_OUT", players_remaining, 30);
|
||||
if (players_remaining == 0)
|
||||
{
|
||||
player thread show_grief_hud_msg(&"ZOMBIE_ZGRIEF_ALL_ALLIES_DOWN", undefined, 30);
|
||||
}
|
||||
else
|
||||
{
|
||||
player thread show_grief_hud_msg(&"ZOMBIE_ZGRIEF_ALLY_BLED_OUT", players_remaining, 30);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user