DayZ 1.24
Loading...
Searching...
No Matches
M4A1.c
Go to the documentation of this file.
1class M4A1_Base : RifleBoltLock_Base
2{
4 {
5 return new M4a1Recoil(this);
6 }
7
8 //Debug menu Spawn Ground Special
9 override void OnDebugSpawn()
10 {
11 super.OnDebugSpawn();
12
13 GameInventory inventory = GetInventory();
14 inventory.CreateInInventory("M9A1_Bayonet");
15 inventory.CreateInInventory("M4_OEBttstck");
16 inventory.CreateInInventory("M4_RISHndgrd");
17 inventory.CreateInInventory("UniversalLight");
18 inventory.CreateInInventory("M4_T3NRDSOptic");
19 inventory.CreateInInventory("Battery9V");
20 inventory.CreateInInventory("Battery9V");
21 }
22};
script counterpart to engine's class Inventory
Definition Inventory.c:79
override void OnDebugSpawn()
Definition M4A1.c:9
override RecoilBase SpawnRecoilObject()
Definition M4A1.c:3