Dayz Explorer
1.29.162510
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
inventoryitem.c:2
ItemOptics::IsSightOnly
bool IsSightOnly()
Definition
itemoptics.c:213
Daten
4_world
entities
itembase
inventory_base
buisoptic.c
Generated by
1.16.1