DayZ
1.24
Loading...
Searching...
No Matches
GreatHelm.c
Go to the documentation of this file.
1
class
GreatHelm
extends
HelmetBase
2
{
3
override
array<int>
GetEffectWidgetTypes
()
4
{
5
return
{
EffectWidgetsTypes
.HELMET_OCCLUDER
/*,EffectWidgetsTypes.HELMET_BREATH*/
};
6
}
7
8
override
bool
IsObstructingVoice
()
9
{
10
return
true
;
11
}
12
13
override
int
GetVoiceEffect
()
14
{
15
return
VoiceEffectObstruction
;
16
}
17
18
override
protected
set<int>
GetAttachmentExclusionInitSlotValue
(
int
slotId
)
19
{
20
set<int>
ret
=
super
.GetAttachmentExclusionInitSlotValue(
slotId
);
21
if
(
slotId
==
InventorySlots
.HEADGEAR)
22
{
23
ret
.Insert(
EAttExclusions
.EXCLUSION_HEADGEAR_HELMET_0);
24
25
ret
.Insert(
EAttExclusions
.EXCLUSION_MASK_0);
26
ret
.Insert(
EAttExclusions
.EXCLUSION_MASK_1);
27
ret
.Insert(
EAttExclusions
.EXCLUSION_MASK_2);
28
ret
.Insert(
EAttExclusions
.EXCLUSION_HEADSTRAP_0);
29
30
ret
.Insert(
EAttExclusions
.SHAVING_HEADGEAR_ATT_0);
31
}
32
return
ret
;
33
}
34
}
HelmetBase
Definition
GreatHelm.c:2
HelmetBase::GetAttachmentExclusionInitSlotValue
set< int > GetAttachmentExclusionInitSlotValue(int slotId)
Definition
GreatHelm.c:18
HelmetBase::IsObstructingVoice
override bool IsObstructingVoice()
Definition
GreatHelm.c:8
HelmetBase::GetVoiceEffect
override int GetVoiceEffect()
Definition
GreatHelm.c:13
HelmetBase::GetEffectWidgetTypes
override array< int > GetEffectWidgetTypes()
Definition
GreatHelm.c:3
InventorySlots
provides access to slot configuration
Definition
InventorySlots.c:6
Param3
Definition
EntityAI.c:95
scripts
4_World
Entities
ItemBase
Clothing
GreatHelm.c
Generated by
1.10.0