Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
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:81
GameInventory::CreateInInventory
EntityAI CreateInInventory(string type)
Definition
inventory.c:876
M14_Base
Definition
m14.c:2
M14_Base::OnDebugSpawn
override void OnDebugSpawn()
Definition
m14.c:8
M14_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
m14.c:3
M14Recoil
Definition
m14recoil.c:2
RecoilBase
Definition
recoilbase.c:2
Games
Dayz
scripts
4_world
entities
firearms
automaticrifle
m14.c
Generated by
1.17.0