Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
1911.c
Go to the documentation of this file.
1
class
Colt1911_Base
:
Pistol_Base
2
{
3
override
RecoilBase
SpawnRecoilObject
()
4
{
5
return
new
Colt1911Recoil
(
this
);
6
}
7
8
//Debug menu Spawn Ground Special
9
override
void
OnDebugSpawn
()
10
{
11
GameInventory
inventory = GetInventory();
12
inventory.
CreateInInventory
(
"PistolSuppressor"
);
13
inventory.
CreateInInventory
(
"TLRLight"
);
14
inventory.
CreateInInventory
(
"Battery9V"
);
15
16
SpawnAttachedMagazine(
"Mag_1911_7Rnd"
);
17
}
18
};
19
20
class
Colt1911
:
Colt1911_Base
{};
21
class
Engraved1911
:
Colt1911_Base
{};
Colt1911_Base
Definition
1911.c:2
Colt1911_Base::OnDebugSpawn
override void OnDebugSpawn()
Definition
1911.c:9
Colt1911_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
1911.c:3
Colt1911
Definition
1911.c:20
Colt1911Recoil
Definition
colt1911recoil.c:2
Engraved1911
Definition
1911.c:21
GameInventory
script counterpart to engine's class Inventory
Definition
inventory.c:81
GameInventory::CreateInInventory
EntityAI CreateInInventory(string type)
Definition
inventory.c:876
Pistol_Base
base for semi auto weapons @NOTE name copies config base class
Definition
pistolalt_base.c:2
RecoilBase
Definition
recoilbase.c:2
Games
Dayz
scripts
4_world
entities
firearms
pistol
1911.c
Generated by
1.17.0