DayZ 1.24
Loading...
Searching...
No Matches
CZ550.c
Go to the documentation of this file.
2{
4 {
5 return new CZ550Recoil(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 GetInventory().CreateAttachment("HuntingOptic");
16 }
17};
override RecoilBase SpawnRecoilObject()
Definition CZ550.c:3
override void OnDebugSpawn()
Definition CZ550.c:9
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.