Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
b95.c
Go to the documentation of this file.
2 {
3  override RecoilBase SpawnRecoilObject()
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 
18  EntityAI entity;
19  if ( Class.CastTo(entity, this) )
20  {
21  entity.SpawnEntityOnGroundPos("Ammo_308Win", entity.GetPosition());
22  }
23  }
24 
25 };
26 class B95 : B95_base {};
27 class SawedoffB95 extends B95_base {};
B95Recoil
Definition: b95recoil.c:1
B95_base
Definition: b95.c:1
RecoilBase
Definition: recoilbase.c:1
B95
Definition: b95.c:26
Class
Super root of all classes in Enforce script.
Definition: enscript.c:10
EntityAI
Definition: building.c:5
DoubleBarrel_Base
Definition: doublebarrel_base.c:119
GameInventory
script counterpart to engine's class Inventory
Definition: inventory.c:78