Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
buisoptic.c
Go to the documentation of this file.
1class BUISOptic : ItemOptics
2{
3 override bool IsSightOnly()
4 {
5 return true;
6 }
7
8 override bool CanPutAsAttachment(EntityAI parent)
9 {
10 if (!super.CanPutAsAttachment(parent))
11 return false;
12
13 if (parent.IsKindOf("M4A1_Base"))
14 return true;
15
16 return false;
17 }
18}
bool IsSightOnly()
Definition itemoptics.c:213