Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
remington12.c
Go to the documentation of this file.
1class R12_Base : ChamberFirst_InnerMagazine_SemiAutomatic_Base
2{
3 override RecoilBase SpawnRecoilObject()
4 {
5 return new R12Recoil(this);
6 }
7
8 //Debug menu Spawn Ground Special
9 override void OnDebugSpawn()
10 {
11 super.OnDebugSpawn();
12 GameInventory inventory = GetInventory();
13 inventory.CreateInInventory( "UniversalLight" );
14 inventory.CreateInInventory( "ReflexOptic" );
15 inventory.CreateInInventory( "Battery9V" );
16 }
17}
18class R12 : R12_Base
19{
20};
script counterpart to engine's class Inventory
Definition inventory.c:79
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
Definition inventory.c:874