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

Grief: add round won/lost text

This commit is contained in:
Jbleezy
2021-12-17 16:10:15 -08:00
parent 4810cf3388
commit 4a610003ac
2 changed files with 16 additions and 1 deletions

View File

@ -271,6 +271,7 @@
* Last player alive audio only plays for the player who is alive instead of every player on the team
* Enemies remaining audio and text displays when enemy players down instead of when enemy players bleed out
* Enemies remaining text is removed when new text is displayed
* Added text when rounds are won/lost
* Added new audio when enemy players bleed out
* Round reset properly restores dual wield weapon left clip ammo, alternative weapon ammo, and equipment
* Random map rotation

View File

@ -152,7 +152,21 @@ round_end(winner, force_win)
setroundsplayed(level.round_number);
level thread maps/mp/zombies/_zm_audio_announcer::leaderdialog( "grief_restarted" );
if(!winner_alive)
if(winner_alive)
{
foreach(player in players)
{
if(player.team == team)
{
player thread scripts/zm/main/_zm_reimagined_zgrief::show_grief_hud_msg( "You won the round" );
}
else
{
player thread scripts/zm/main/_zm_reimagined_zgrief::show_grief_hud_msg( "You lost the round" );
}
}
}
else
{
foreach(player in players)
{