DayZ
1.28
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
AK74.c
См. документацию.
1
class
AK74_Base
:
AKM_Base
2
{
3
override
RecoilBase
SpawnRecoilObject
()
4
{
5
return
new
Ak74Recoil
(
this
);
6
}
7
8
9
//Debug menu Spawn Ground Special
10
override
void
OnDebugSpawn
()
11
{
12
GameInventory
inventory = GetInventory();
13
14
inventory.
CreateInInventory
(
"AK74_WoodBttstck"
);
15
inventory.
CreateInInventory
(
"AK74_Hndgrd"
);
16
inventory.
CreateInInventory
(
"PSO1Optic"
);
17
inventory.
CreateInInventory
(
"AK_Bayonet"
);
18
inventory.
CreateInInventory
(
"Battery9V"
);
19
20
SpawnAttachedMagazine(
"Mag_AK74_30Rnd"
);
21
}
22
};
23
24
class
AK74
:
AK74_Base
25
{
26
override
bool
CanEnterIronsights
()
27
{
28
ItemOptics
optic = GetAttachedOptics();
29
if
(optic && PSO1Optic.Cast(optic) || PSO11Optic.Cast(optic) || PSO6Optic.Cast(optic) || KazuarOptic.Cast(optic))
30
return
true
;
31
return
super.CanEnterIronsights();
32
}
33
};
AK74_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Определения
AK74.c:3
AK74_Base::OnDebugSpawn
override void OnDebugSpawn()
Определения
AK74.c:10
AK74_Base
Определения
AK74.c:2
AK74::CanEnterIronsights
override bool CanEnterIronsights()
Определения
AK74.c:26
AK74
Определения
AK74.c:25
AKM_Base
Определения
AKM.c:2
Ak74Recoil
Определения
Ak74Recoil.c:2
GameInventory::CreateInInventory
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
Определения
3_Game/Systems/Inventory/Inventory.c:874
GameInventory
script counterpart to engine's class Inventory
Определения
3_Game/Systems/Inventory/Inventory.c:79
ItemOptics
Определения
ItemOptics.c:2
RecoilBase
Определения
RecoilBase.c:2
Ishodniki
scripts
4_World
Entities
Firearms
AutomaticRifle
AK74.c
Создано системой
1.13.2