DayZ
1.24
Loading...
Searching...
No Matches
Izh18.c
Go to the documentation of this file.
1
5
class
Izh18_Base
extends
RifleSingleShot_Base
6
{
7
void
Izh18_Base
()
8
{
9
}
10
11
override
RecoilBase
SpawnRecoilObject
()
12
{
13
return
new
Izh18Recoil
(
this
);
14
}
15
16
//Debug menu Spawn Ground Special
17
override
void
OnDebugSpawn
()
18
{
19
super
.OnDebugSpawn();
20
21
EntityAI
entity
;
22
if
(
Class
.
CastTo
(
entity
,
this
))
23
entity
.SpawnEntityOnGroundPos(
"Ammo_762x39"
,
entity
.GetPosition());
24
}
25
};
Class
Super root of all classes in Enforce script.
Definition
EnScript.c:11
EntityAI
Definition
Building.c:6
Izh18_Base
base for Izh18 @NOTE name copies config base class
Definition
SawedoffIzh18.c:2
Izh18Recoil
Definition
Izh18Recoil.c:2
Param3
Definition
EntityAI.c:95
RecoilBase
Definition
RecoilBase.c:2
RifleSingleShot_Base
Definition
Izh18.c:6
RifleSingleShot_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
Izh18.c:11
RifleSingleShot_Base::Izh18_Base
void Izh18_Base()
Definition
Izh18.c:7
RifleSingleShot_Base::OnDebugSpawn
override void OnDebugSpawn()
Definition
Izh18.c:17
Class::CastTo
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
scripts
4_World
Entities
Firearms
Rifle
Izh18.c
Generated by
1.10.0