DayZ 1.24
Loading...
Searching...
No Matches
M14.c
Go to the documentation of this file.
1class M14_Base : RifleBoltLock_Base
2{
4 {
5 return new M14Recoil(this);
6 }
7
8 override void OnDebugSpawn()
9 {
10 GameInventory inventory = GetInventory();
11
12 inventory.CreateInInventory("ReflexOptic");
13 inventory.CreateInInventory("ImprovisedSuppressor");
14 inventory.CreateInInventory("Battery9V");
15
16 SpawnAttachedMagazine("Mag_M14_20Rnd");
17 }
18};
script counterpart to engine's class Inventory
Definition Inventory.c:79
Definition M14.c:2
override void OnDebugSpawn()
Definition M14.c:8
override RecoilBase SpawnRecoilObject()
Definition M14.c:3