Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
groza_barrel_grip.c
Go to the documentation of this file.
1
class
Groza_Barrel_Grip
extends
SuppressorBase
2
{
3
override
bool
CanPutAsAttachment
(
EntityAI
parent )
4
{
5
if
(!super.CanPutAsAttachment(parent)) {
return
false
;}
6
if
( !parent.FindAttachmentBySlotName(
"weaponButtstockAK"
).IsKindOf(
"GrozaGL_LowerReceiver"
) )
7
{
8
return
true
;
9
}
10
11
return
false
;
12
}
13
}
SuppressorBase
Definition:
groza_barrel_grip.c:1
CanPutAsAttachment
override bool CanPutAsAttachment(EntityAI parent)
Definition:
itembase.c:4021
EntityAI
Definition:
building.c:5
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
suppressorbase
groza_barrel_grip.c
Generated by
1.8.17