Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
m4_rishndgrd.c
Go to the documentation of this file.
1
class
M4_RISHndgrd
extends
Inventory_Base
2
{
3
override
bool
CanDetachAttachment
(
EntityAI
parent)
4
{
5
if
(
Weapon_Base
.Cast(parent) && parent.FindAttachmentBySlotName(
"weaponFlashlight"
) )
6
{
7
return
false
;
8
}
9
return
true
;
10
}
11
}
EntityAI
Definition
inventoryitem.c:2
Inventory_Base
Definition
barbedbaseballbat.c:2
Inventory_Base::CanDetachAttachment
override bool CanDetachAttachment(EntityAI parent)
Definition
m4_rishndgrd.c:3
Weapon_Base
shorthand
Definition
boltactionrifle_base.c:6
Games
Dayz
scripts
4_world
entities
itembase
inventory_base
m4_rishndgrd.c
Generated by
1.17.0