Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
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
inventoryitem.c:2
ItemOptics
Definition
itemoptics.c:2
ItemOptics::CanPutAsAttachment
override bool CanPutAsAttachment(EntityAI parent)
Definition
m4_carryhandleoptic.c:3
Games
Dayz
scripts
4_world
entities
itembase
inventory_base
m4_carryhandleoptic.c
Generated by
1.17.0