3 override bool IsMeleeFinisher()
15 if(!super.CanPutAsAttachment(parent)) {
return false;}
16 if ( parent.FindAttachmentBySlotName(
"suppressorImpro") ==
null && parent.FindAttachmentBySlotName(
"weaponMuzzle") ==
null )
25 super.OnWasAttached(parent, slot_id);
27 if( parent.IsWeapon() )
29 parent.SetBayonetAttached(
true,slot_id);
35 super.OnWasDetached(parent, slot_id);
37 if( parent.IsWeapon() )
39 parent.SetBayonetAttached(
false);