Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
m4_carryhandleoptic.c
Go to the documentation of this file.
1
class
M4_CarryHandleOptic
extends
ItemOptics
2
{
3
override
bool
CanPutAsAttachment
(
EntityAI
parent )
4
{
5
if
(!super.CanPutAsAttachment(parent)) {
return
false
;}
6
if
( parent.IsKindOf(
"M4A1_Base"
) )
7
{
8
return
true
;
9
}
10
11
return
false
;
12
}
13
}
EntityAI
Definition
building.c:6
ItemOptics
Definition
itemoptics.c:2
CanPutAsAttachment
override bool CanPutAsAttachment(EntityAI parent)
Definition
itembase.c:8966
Daten
4_world
entities
itembase
inventory_base
m4_carryhandleoptic.c
Generated by
1.12.0