Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
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
{
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
31
class
SSG82Optic
:
ItemOptics
32
{
33
override
bool
CanPutAsAttachment
(
EntityAI
parent )
34
{
35
return
true
;
36
}
37
};
BoltActionRifle_ExternalMagazine_Base
Definition
boltactionrifleexternalmagazine_base.c:113
EntityAI
Definition
inventoryitem.c:2
ItemOptics::ItemOptics
void ItemOptics()
Definition
itemoptics.c:19
RecoilBase
Definition
recoilbase.c:2
SSG82_Base
Definition
ssg82.c:2
SSG82_Base::CanEnterIronsights
override bool CanEnterIronsights()
Definition
ssg82.c:3
SSG82_Base::AssembleGun
override void AssembleGun()
Definition
ssg82.c:8
SSG82_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
ssg82.c:18
SSG82Optic
Definition
ssg82.c:32
SSG82Optic::CanPutAsAttachment
override bool CanPutAsAttachment(EntityAI parent)
Definition
ssg82.c:33
SSG82Recoil
Definition
ssg82recoil.c:2
Games
Dayz
scripts
4_world
entities
firearms
rifle
ssg82.c
Generated by
1.17.0