impressive_hits = 0;
FireRailgunBullet(actor, weaponentity, w_shotorg, w_shotorg + w_shotdir * max_shot_distance, mydmg, true, myforce, mymindist, mymaxdist, myhalflife, myforcehalflife, thiswep.m_id);
- if(yoda && flying)
- Send_Notification(NOTIF_ONE, actor, MSG_ANNCE, ANNCE_ACHIEVEMENT_YODA);
+ if(yoda && flying) {
+ Give_Medal(actor, YODA);
+ }
+
if(impressive_hits && actor.oknex_lasthit)
{
- Send_Notification(NOTIF_ONE, actor, MSG_ANNCE, ANNCE_ACHIEVEMENT_IMPRESSIVE);
+ Give_Medal(actor, IMPRESSIVE);
impressive_hits = 0; // only every second time
}
METHOD(OverkillNex, wr_setup, void(entity thiswep, entity actor, .entity weaponentity))
{
- actor.oknex_lasthit = 0;
+ //actor.oknex_lasthit = 0;
}
METHOD(OverkillNex, wr_checkammo1, bool(entity thiswep, entity actor, .entity weaponentity))