Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
mp5_railhndgrd.c
Go to the documentation of this file.
1
class
MP5_RailHndgrd
extends
Inventory_Base
2
{
3
override
bool
CanDetachAttachment (
EntityAI
parent)
4
{
5
if
(
Weapon_Base
.Cast(parent) && parent.FindAttachmentBySlotName(
"weaponFlashlight"
)
/*.IsKindOf("UniversalLight")*/
)
6
{
7
return
false
;
8
}
9
return
true
;
10
}
11
}
Weapon_Base
shorthand
Definition:
boltactionrifle_base.c:5
Inventory_Base
Definition:
barbedbaseballbat.c:1
EntityAI
Definition:
building.c:5
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
inventory_base
mp5_railhndgrd.c
Generated by
1.8.17