Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
aks74u.c
Go to the documentation of this file.
1
class
AKS74U
:
AK74_Base
2
{
3
override
RecoilBase
SpawnRecoilObject
()
4
{
5
return
new
Aks74uRecoil
(
this
);
6
}
7
8
//Debug menu Spawn Ground Special
9
override
void
OnDebugSpawn
()
10
{
11
EntityAI
entity;
12
if
(
Class
.
CastTo
(entity,
this
) )
13
{
14
entity.GetInventory().CreateInInventory(
"AKS74U_Bttstck"
);
15
entity.GetInventory().CreateInInventory(
"AK_Suppressor"
);
16
SpawnAttachedMagazine(
"Mag_AK74_30Rnd"
);
17
}
18
}
19
};
AK74_Base
Definition
ak74.c:2
AKS74U
Definition
aks74u.c:2
AKS74U::OnDebugSpawn
override void OnDebugSpawn()
Definition
aks74u.c:9
AKS74U::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
aks74u.c:3
Aks74uRecoil
Definition
aks74urecoil.c:2
Class
Super root of all classes in Enforce script.
Definition
enscript.c:11
EntityAI
Definition
inventoryitem.c:2
RecoilBase
Definition
recoilbase.c:2
Class::CastTo
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Games
Dayz
scripts
4_world
entities
firearms
automaticrifle
aks74u.c
Generated by
1.17.0