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