15 if (!super.CanPutAsAttachment(parent))
21 if ( parent.FindAttachmentBySlotName(
"suppressorImpro") == null && parent.FindAttachmentBySlotName(
"weaponMuzzleAK") == null )
30 super.OnWasAttached(parent, slot_id);
32 if( parent.IsWeapon() )
34 parent.SetBayonetAttached(
true,slot_id);
40 super.OnWasDetached(parent, slot_id);
42 if( parent.IsWeapon() )
44 parent.SetBayonetAttached(
false);
ActionDisarmExplosiveCB ActionContinuousBaseCB ActionDisarmExplosive()
ActionDisarmMineCB ActionContinuousBaseCB ActionDisarmMine()
ActionSkinningCB ActionContinuousBaseCB ActionSkinning()
void AddAction(typename actionName)
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id
provides access to slot configuration
Result for an object found in CGame.IsBoxCollidingGeometryProxy.