Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
1911.c
Go to the documentation of this file.
2{
3 override RecoilBase SpawnRecoilObject()
4 {
5 return new Colt1911Recoil(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( "TLRLight" );
14 inventory.CreateInInventory( "Battery9V" );
15
16 SpawnAttachedMagazine("Mag_1911_7Rnd");
17 }
18};
19
script counterpart to engine's class Inventory
Definition inventory.c:79
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
Definition inventory.c:874
base for semi auto weapons @NOTE name copies config base class