Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
m14.c
Go to the documentation of this file.
1
class
M14_Base
: RifleBoltLock_Base
2
{
3
override
RecoilBase
SpawnRecoilObject()
4
{
5
return
new
M14Recoil
(
this
);
6
}
7
8
override
void
OnDebugSpawn()
9
{
10
GameInventory
inventory = GetInventory();
11
12
inventory.
CreateInInventory
(
"ACOGOptic_6x"
);
13
inventory.
CreateInInventory
(
"ImprovisedSuppressor"
);
14
inventory.
CreateInInventory
(
"Battery9V"
);
15
16
SpawnAttachedMagazine(
"Mag_M14_20Rnd"
);
17
}
18
};
GameInventory
script counterpart to engine's class Inventory
Definition
inventory.c:79
GameInventory::CreateInInventory
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
Definition
inventory.c:874
M14_Base
Definition
m14.c:2
M14Recoil
Definition
m14recoil.c:2
RecoilBase
Definition
recoilbase.c:2
Daten
4_world
entities
firearms
automaticrifle
m14.c
Generated by
1.12.0