Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
dirtbikehelmet_colorbase.c
Go to the documentation of this file.
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 
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 };
ClothingBase
Definition: dallasmask.c:1
OnDebugSpawn
class Hatchback_02_Blue extends Hatchback_02 OnDebugSpawn
Definition: hatchback_02.c:404
DirtBikeHelmet_Mouthguard
Definition: dirtbikehelmet_colorbase.c:24
DirtBikeHelmet_ColorBase
Definition: dirtbikehelmet_colorbase.c:16
HelmetBase
Definition: greathelm.c:1
DirtBikeHelmet_Visor
Definition: dirtbikehelmet_colorbase.c:23
Class
Super root of all classes in Enforce script.
Definition: enscript.c:10
EntityAI
Definition: building.c:5