DayZ
1.24
Loading...
Searching...
No Matches
IZH43.c
Go to the documentation of this file.
1
class
Izh43Shotgun_Base
:
DoubleBarrel_Base
2
{
3
override
RecoilBase
SpawnRecoilObject
()
4
{
5
return
new
Izh43Recoil
(
this
);
6
}
7
8
//Debug menu Spawn Ground Special
9
override
void
OnDebugSpawn
()
10
{
11
super
.OnDebugSpawn();
12
13
EntityAI
entity
;
14
if
(
Class
.
CastTo
(
entity
,
this
))
15
{
16
entity
.SpawnEntityOnGroundPos(
"Ammo_12gaPellets"
,
entity
.GetPosition());
17
entity
.SpawnEntityOnGroundPos(
"Ammo_12gaSlug"
,
entity
.GetPosition());
18
entity
.SpawnEntityOnGroundPos(
"Ammo_12gaRubberSlug"
,
entity
.GetPosition());
19
}
20
}
21
};
22
23
class
Izh43Shotgun
:
Izh43Shotgun_Base
{};
24
class
SawedoffIzh43Shotgun
:
Izh43Shotgun_Base
{};
25
Class
Super root of all classes in Enforce script.
Definition
EnScript.c:11
DoubleBarrel_Base
Definition
DoubleBarrel_Base.c:119
EntityAI
Definition
Building.c:6
Izh43Recoil
Definition
Izh43Recoil.c:2
Izh43Shotgun_Base
Definition
IZH43.c:2
Izh43Shotgun_Base::OnDebugSpawn
override void OnDebugSpawn()
Definition
IZH43.c:9
Izh43Shotgun_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
IZH43.c:3
Izh43Shotgun
Definition
IZH43.c:23
Param3
Definition
EntityAI.c:95
RecoilBase
Definition
RecoilBase.c:2
SawedoffIzh43Shotgun
Definition
IZH43.c:24
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
Shotgun
IZH43.c
Generated by
1.10.0