10 Send_Notification(NOTIF_ONE, actor, MSG_CENTER, CENTER_POWERDOWN_INVISIBILITY);
17 if(actor.exteriorweaponentity)
28 Send_Notification(NOTIF_ALL,
NULL, MSG_INFO, INFO_POWERUP_INVISIBILITY, actor.netname);
29 Send_Notification(NOTIF_ONE, actor, MSG_CENTER, CENTER_POWERUP_INVISIBILITY);
35 play_countdown(actor, StatusEffects_gettime(
this, actor), SND_POWEROFF);
38 actor.alpha = autocvar_g_balance_powerup_invisibility_alpha;
39 if(actor.exteriorweaponentity)
40 actor.exteriorweaponentity.alpha = autocvar_g_balance_powerup_invisibility_alpha;
void play_countdown(entity this, float finished, Sound samp)
#define METHOD(cname, name, prototype)
const int CH_TRIGGER_SINGLE
float default_player_alpha
float default_weapon_alpha