Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
buisoptic.c
Go to the documentation of this file.
1 class BUISOptic extends ItemOptics
2 {
3  override bool CanPutAsAttachment( EntityAI parent )
4  {
5  if(!super.CanPutAsAttachment(parent)) {return false;}
6  if ( parent.IsKindOf("M4A1_Base") )
7  {
8  return true;
9  }
10 
11  return false;
12  //return true;
13  }
14 }
CanPutAsAttachment
override bool CanPutAsAttachment(EntityAI parent)
Definition: itembase.c:4021
ItemOptics
Definition: itemoptics.c:1
EntityAI
Definition: building.c:5