DayZ 1.24
Loading...
Searching...
No Matches
B95.c
Go to the documentation of this file.
2{
4 {
5 return new B95Recoil(this);
6 }
7
8
9 //Debug menu Spawn Ground Special
10 override void OnDebugSpawn()
11 {
12 super.OnDebugSpawn();
13 GameInventory inventory = GetInventory();
14
15 inventory.CreateInInventory("HuntingOptic");
16
17
19 if (Class.CastTo(entity, this))
20 entity.SpawnEntityOnGroundPos("Ammo_308Win", entity.GetPosition());
21 }
22
23};
24class B95 : B95_base {};
25class SawedoffB95 extends B95_base {};
Definition B95.c:2
override void OnDebugSpawn()
Definition B95.c:10
override RecoilBase SpawnRecoilObject()
Definition B95.c:3
Definition B95.c:24
Super root of all classes in Enforce script.
Definition EnScript.c:11
script counterpart to engine's class Inventory
Definition Inventory.c:79
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.