Dayz Explorer 1.28.160049
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 {
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};