mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-20 03:59:47 -05:00
Mule Kick: hide additional weapon indicator after 1 second
This commit is contained in:
@ -3643,8 +3643,7 @@ additionalprimaryweapon_indicator()
|
|||||||
|
|
||||||
if (self hasPerk("specialty_additionalprimaryweapon") && isDefined(self.a_saved_weapon) && self getCurrentWeapon() == self.a_saved_weapon["name"])
|
if (self hasPerk("specialty_additionalprimaryweapon") && isDefined(self.a_saved_weapon) && self getCurrentWeapon() == self.a_saved_weapon["name"])
|
||||||
{
|
{
|
||||||
hud fadeOverTime(0.5);
|
self thread additionalprimaryweapon_indicator_show_and_hide(hud);
|
||||||
hud.alpha = 1;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -3654,6 +3653,23 @@ additionalprimaryweapon_indicator()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
additionalprimaryweapon_indicator_show_and_hide(hud)
|
||||||
|
{
|
||||||
|
self endon("disconnect");
|
||||||
|
self endon("player_downed");
|
||||||
|
self endon("spawned_player");
|
||||||
|
self endon("weapon_change");
|
||||||
|
self endon("specialty_additionalprimaryweapon_stop");
|
||||||
|
|
||||||
|
hud fadeOverTime(0.5);
|
||||||
|
hud.alpha = 1;
|
||||||
|
|
||||||
|
wait 1.5;
|
||||||
|
|
||||||
|
hud fadeOverTime(0.5);
|
||||||
|
hud.alpha = 0;
|
||||||
|
}
|
||||||
|
|
||||||
additionalprimaryweapon_stowed_weapon_refill()
|
additionalprimaryweapon_stowed_weapon_refill()
|
||||||
{
|
{
|
||||||
self endon("disconnect");
|
self endon("disconnect");
|
||||||
|
Reference in New Issue
Block a user