Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
derringer.c
Go to the documentation of this file.
2{
4 {
5 return new DerringerRecoil(this);
6 }
7 //Debug menu Spawn Ground Special
8 override void OnDebugSpawn()
9 {
10 SpawnAmmo("Ammo_357",SAMF_DEFAULT);
11
12 EntityAI entity;
13 if ( Class.CastTo(entity, this) )
14 {
15 entity.SpawnEntityOnGroundPos("Ammo_357", entity.GetPosition());
16 }
17 }
18
20 {
21 return WeaponActionChamberingTypes.CHAMBERING_DOUBLE_FIREOUT_EJECT;
22 }
23};
24
Super root of all classes in Enforce script.
Definition enscript.c:11
override void OnDebugSpawn()
Definition derringer.c:8
override RecoilBase SpawnRecoilObject()
Definition derringer.c:3
override int GetAnimationForChamberingWithEjection()
Definition derringer.c:19
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
WeaponActionChamberingTypes
Definition human.c:876