Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
dirtbikehelmet_colorbase.c
Go to the documentation of this file.
1
class
DirtBikeHelmet_ColorBase
extends
HelmetBase
2
{
3
//Debug menu Spawn Ground Special
4
override
void
OnDebugSpawn
()
5
{
6
EntityAI
entity;
7
if
(
Class
.
CastTo
(entity,
this
) )
8
{
9
entity.GetInventory().CreateInInventory(
"DirtBikeHelmet_Visor"
);
10
entity.GetInventory().CreateInInventory(
"DirtBikeHelmet_Mouthguard"
);
11
}
12
}
13
}
14
15
class
DirtBikeHelmet_Green
extends
DirtBikeHelmet_ColorBase
{};
16
class
DirtBikeHelmet_Chernarus
extends
DirtBikeHelmet_ColorBase
{};
17
class
DirtBikeHelmet_Khaki
extends
DirtBikeHelmet_ColorBase
{};
18
class
DirtBikeHelmet_Police
extends
DirtBikeHelmet_ColorBase
{};
19
class
DirtBikeHelmet_Red
extends
DirtBikeHelmet_ColorBase
{};
20
class
DirtBikeHelmet_Black
extends
DirtBikeHelmet_ColorBase
{};
21
class
DirtBikeHelmet_Blue
extends
DirtBikeHelmet_ColorBase
{};
22
23
class
DirtBikeHelmet_Visor
:
ClothingBase
{};
24
class
DirtBikeHelmet_Mouthguard
:
ClothingBase
25
{
26
override
protected
void
InitGlobalExclusionValues
()
27
{
28
super.InitGlobalExclusionValues();
29
30
AddSingleExclusionValueGlobal(EAttExclusions.EXCLUSION_MASK_2);
31
32
AddSingleExclusionValueGlobal(EAttExclusions.SHAVING_HEADGEAR_ATT_0);
33
}
34
};
Class
Super root of all classes in Enforce script.
Definition
enscript.c:11
ClothingBase
Definition
dallasmask.c:2
DirtBikeHelmet_ColorBase
Definition
dirtbikehelmet_colorbase.c:16
DirtBikeHelmet_Mouthguard
Definition
dirtbikehelmet_colorbase.c:25
DirtBikeHelmet_Mouthguard::InitGlobalExclusionValues
void InitGlobalExclusionValues()
Definition
dirtbikehelmet_colorbase.c:26
DirtBikeHelmet_Visor
Definition
dirtbikehelmet_colorbase.c:23
EntityAI
Definition
inventoryitem.c:2
HelmetBase
Definition
greathelm.c:2
HelmetBase::OnDebugSpawn
override void OnDebugSpawn()
Definition
dirtbikehelmet_colorbase.c:4
Class::CastTo
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Games
Dayz
scripts
4_world
entities
itembase
clothing
helmetbase
dirtbikehelmet_colorbase.c
Generated by
1.17.0