Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
buisoptic.c
Go to the documentation of this file.
1
class
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
}
BUISOptic
Definition
buisoptic.c:2
EntityAI
Definition
building.c:6
ItemOptics
Definition
itemoptics.c:2
Daten
4_world
entities
itembase
inventory_base
buisoptic.c
Generated by
1.12.0