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