DayZ
1.24
Loading...
Searching...
No Matches
SSG82.c
Go to the documentation of this file.
1
class
SSG82_Base
:
BoltActionRifle_ExternalMagazine_Base
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
16
override
RecoilBase
SpawnRecoilObject
()
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
29
class
SSG82Optic
:
ItemOptics
30
{
31
override
bool
CanPutAsAttachment
(
EntityAI
parent)
32
{
33
return
true
;
34
}
35
};
BoltActionRifle_ExternalMagazine_Base
Definition
BoltActionRifleExternalMagazine_Base.c:113
EntityAI
Definition
Building.c:6
ItemOptics
Definition
ItemOptics.c:2
Param3
Definition
EntityAI.c:95
RecoilBase
Definition
RecoilBase.c:2
SSG82_Base
Definition
SSG82.c:2
SSG82_Base::AssembleGun
override void AssembleGun()
Definition
SSG82.c:8
SSG82_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
SSG82.c:16
SSG82_Base::CanEnterIronsights
override bool CanEnterIronsights()
Definition
SSG82.c:3
SSG82Optic
Definition
SSG82.c:30
SSG82Optic::CanPutAsAttachment
override bool CanPutAsAttachment(EntityAI parent)
Definition
SSG82.c:31
SSG82Recoil
Definition
SSG82Recoil.c:2
scripts
4_World
Entities
Firearms
Rifle
SSG82.c
Generated by
1.10.0