DayZ 1.24
Loading...
Searching...
No Matches
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 GetInventory().CreateAttachment("SSG82Optic");
14 }
15
17 {
18 return new SSG82Recoil(this);
19 }
20
21 //Debug menu Spawn Ground Special
22 /*override void OnDebugSpawn()
23 {
24 super.OnDebugSpawn();
25 }*/
26};
27
28
30{
31 override bool CanPutAsAttachment(EntityAI parent)
32 {
33 return true;
34 }
35};
override void AssembleGun()
Definition SSG82.c:8
override RecoilBase SpawnRecoilObject()
Definition SSG82.c:16
override bool CanEnterIronsights()
Definition SSG82.c:3
override bool CanPutAsAttachment(EntityAI parent)
Definition SSG82.c:31