DayZ
1.24
Loading...
Searching...
No Matches
M4_Suppressor.c
Go to the documentation of this file.
1
class
M4_Suppressor
extends
SuppressorBase
2
{
3
override
bool
CanPutAsAttachment
(
EntityAI
parent)
4
{
5
if
(!
super
.CanPutAsAttachment(parent))
return
false
;
6
if
(parent.FindAttachmentBySlotName(
"suppressorImpro"
) ==
NULL
&& parent.FindAttachmentBySlotName(
"weaponBayonet"
) ==
NULL
)
7
return
true
;
8
return
false
;
9
}
10
}
EntityAI
Definition
Building.c:6
Param3
Definition
EntityAI.c:95
SuppressorBase
Definition
Groza_Barrel_Grip.c:2
SuppressorBase::CanPutAsAttachment
override bool CanPutAsAttachment(EntityAI parent)
Definition
M4_Suppressor.c:3
scripts
4_World
Entities
ItemBase
SuppressorBase
M4_Suppressor.c
Generated by
1.10.0