DayZ 1.24
Loading...
Searching...
No Matches
IZH43.c
Go to the documentation of this file.
2{
4 {
5 return new Izh43Recoil(this);
6 }
7
8 //Debug menu Spawn Ground Special
9 override void OnDebugSpawn()
10 {
11 super.OnDebugSpawn();
12
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
25
Super root of all classes in Enforce script.
Definition EnScript.c:11
override void OnDebugSpawn()
Definition IZH43.c:9
override RecoilBase SpawnRecoilObject()
Definition IZH43.c:3
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.