Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
glock.c
Go to the documentation of this file.
2 {
3  override RecoilBase SpawnRecoilObject()
4  {
5  return new GlockRecoil(this);
6  }
7 
8  //Debug menu Spawn Ground Special
9  override void OnDebugSpawn()
10  {
11  GameInventory inventory = GetInventory();
12  inventory.CreateInInventory( "PistolSuppressor" );
13  inventory.CreateInInventory( "FNP45_MRDSOptic" );
14  inventory.CreateInInventory( "TLRLight" );
15  inventory.CreateInInventory( "Battery9V" );
16  inventory.CreateInInventory( "Battery9V" );
17 
18  SpawnAttachedMagazine("Mag_Glock_15Rnd");
19  }
20 
21 };
RecoilBase
Definition: recoilbase.c:1
Pistol_Base
base for semi auto weapons @NOTE name copies config base class
Definition: pistolalt_base.c:1
GlockRecoil
Definition: glockrecoil.c:1
Glock19_Base
Definition: glock.c:1
GameInventory
script counterpart to engine's class Inventory
Definition: inventory.c:78