Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
ump45.c
Go to the documentation of this file.
1
class
UMP45_Base
: RifleBoltLock_Base
2
{
3
void
UMP_Base
()
4
{
5
}
6
7
override
RecoilBase
SpawnRecoilObject
()
8
{
9
return
new
Ump45Recoil
(
this
);
10
}
11
12
//Debug menu Spawn Ground Special
13
override
void
OnDebugSpawn
()
14
{
15
GameInventory
inventory = GetInventory();
16
inventory.
CreateInInventory
(
"PistolSuppressor"
);
17
inventory.
CreateInInventory
(
"ReflexOptic"
);
18
inventory.
CreateInInventory
(
"UniversalLight"
);
19
inventory.
CreateInInventory
(
"Battery9V"
);
20
inventory.
CreateInInventory
(
"Battery9V"
);
21
22
SpawnAttachedMagazine(
"Mag_UMP_25Rnd"
);
23
}
24
};
GameInventory
script counterpart to engine's class Inventory
Definition
inventory.c:81
GameInventory::CreateInInventory
EntityAI CreateInInventory(string type)
Definition
inventory.c:876
RecoilBase
Definition
recoilbase.c:2
UMP45_Base
Definition
ump45.c:2
UMP45_Base::OnDebugSpawn
override void OnDebugSpawn()
Definition
ump45.c:13
UMP45_Base::UMP_Base
void UMP_Base()
Definition
ump45.c:3
UMP45_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
ump45.c:7
Ump45Recoil
Definition
ump45recoil.c:2
Games
Dayz
scripts
4_world
entities
firearms
smg
ump45.c
Generated by
1.17.0