1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-09 21:38:09 -05:00

Players ignored by enemies for 1 second after being revived

This commit is contained in:
Jbleezy
2022-01-04 16:36:48 -08:00
parent ea7a8a6eb4
commit 5e373c3452
2 changed files with 18 additions and 0 deletions

View File

@ -92,6 +92,8 @@ onplayerspawned()
self thread bleedout_bar_hud();
self thread zone_hud();
self thread ignoreme_after_revived();
self thread fall_velocity_check();
self thread melee_weapon_switch_watcher();
@ -1750,6 +1752,21 @@ set_lethal_grenade_init()
level.zombie_lethal_grenade_player_init = "sticky_grenade_zm";
}
ignoreme_after_revived()
{
self endon( "disconnect" );
while(1)
{
self waittill( "player_revived", reviver );
self.ignoreme = 1;
wait 1;
self.ignoreme = 0;
}
}
fall_velocity_check()
{