Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
m4a1.c
Go to the documentation of this file.
1
class
M4A1_Base
: RifleBoltLock_Base
2
{
3
override
RecoilBase
SpawnRecoilObject
()
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
};
GameInventory
script counterpart to engine's class Inventory
Definition
inventory.c:81
GameInventory::CreateInInventory
EntityAI CreateInInventory(string type)
Definition
inventory.c:876
M4A1_Base
Definition
m4a1.c:2
M4A1_Base::OnDebugSpawn
override void OnDebugSpawn()
Definition
m4a1.c:9
M4A1_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
m4a1.c:3
M4a1Recoil
Definition
m4a1recoil.c:2
RecoilBase
Definition
recoilbase.c:2
Games
Dayz
scripts
4_world
entities
firearms
automaticrifle
m4a1.c
Generated by
1.17.0