Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
izh18shotgun.c
Go to the documentation of this file.
1
5
class
Izh18Shotgun_Base
extends
RifleSingleShot_Base
6
{
7
void
Izh18Shotgun_Base
()
8
{
9
}
10
11
override
RecoilBase
SpawnRecoilObject
()
12
{
13
return
new
Izh18ShotgunRecoil
(
this
);
14
}
15
16
//Debug menu Spawn Ground Special
17
override
void
OnDebugSpawn
()
18
{
19
SpawnAmmo(
"Ammo_12gaPellets"
,SAMF_DEFAULT);
20
21
EntityAI
entity;
22
if
(
Class
.
CastTo
(entity,
this
) )
23
{
24
entity.SpawnEntityOnGroundPos(
"Ammo_12gaPellets"
, entity.GetPosition());
25
}
26
}
27
};
Class
Super root of all classes in Enforce script.
Definition
enscript.c:11
EntityAI
Definition
inventoryitem.c:2
Izh18Shotgun_Base
Definition
sawedoffizh18shotgun.c:6
Izh18ShotgunRecoil
Definition
izh18shotgunrecoil.c:2
RecoilBase
Definition
recoilbase.c:2
RifleSingleShot_Base
Definition
izh18.c:6
RifleSingleShot_Base::OnDebugSpawn
override void OnDebugSpawn()
Definition
izh18shotgun.c:17
RifleSingleShot_Base::Izh18Shotgun_Base
void Izh18Shotgun_Base()
Definition
izh18shotgun.c:7
RifleSingleShot_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
izh18shotgun.c:11
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
shotgun
izh18shotgun.c
Generated by
1.17.0