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