Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
ssg82.c
Go to the documentation of this file.
2 {
3  override bool CanEnterIronsights()
4  {
5  return false;
6  }
7 
8  override void AssembleGun()
9  {
10  super.AssembleGun();
11 
12  if ( !FindAttachmentBySlotName("weaponOpticsAug") )
13  {
14  GetInventory().CreateAttachment("SSG82Optic");
15  }
16  }
17 
18  override RecoilBase SpawnRecoilObject()
19  {
20  return new SSG82Recoil(this);
21  }
22 
23  //Debug menu Spawn Ground Special
24  /*override void OnDebugSpawn()
25  {
26  super.OnDebugSpawn();
27  }*/
28 };
29 
30 
32 {
33  override bool CanPutAsAttachment( EntityAI parent )
34  {
35  return true;
36  }
37 };
BoltActionRifle_ExternalMagazine_Base
Definition: boltactionrifleexternalmagazine_base.c:112
SSG82Recoil
Definition: ssg82recoil.c:1
RecoilBase
Definition: recoilbase.c:1
ItemOptics
Definition: itemoptics.c:1
SSG82_Base
Definition: ssg82.c:1
SSG82Optic
Definition: ssg82.c:31
EntityAI
Definition: building.c:5