Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
winchester70.c
Go to the documentation of this file.
2 {
3  override RecoilBase SpawnRecoilObject()
4  {
5  return new Winchester70Recoil(this);
6  }
7 
8 
9  //Debug menu Spawn Ground Special
10  override void OnDebugSpawn()
11  {
12  super.OnDebugSpawn();
13  EntityAI entity;
14  if ( Class.CastTo(entity, this) )
15  {
16  entity.GetInventory().CreateInInventory( "HuntingOptic" );
17  entity.SpawnEntityOnGroundPos("Ammo_308Win", entity.GetPosition());
18  }
19  }
20 };
Winchester70_Base
Definition: winchester70.c:1
RecoilBase
Definition: recoilbase.c:1
BoltActionRifle_InnerMagazine_Base
Definition: mosin9130.c:5
Class
Super root of all classes in Enforce script.
Definition: enscript.c:10
Winchester70Recoil
Definition: winchester70recoil.c:1
EntityAI
Definition: building.c:5