DayZ
1.24
Loading...
Searching...
No Matches
CZ550.c
Go to the documentation of this file.
1
class
CZ550_Base
:
BoltActionRifle_ExternalMagazine_Base
2
{
3
override
RecoilBase
SpawnRecoilObject
()
4
{
5
return
new
CZ550Recoil
(
this
);
6
}
7
8
//Debug menu Spawn Ground Special
9
override
void
OnDebugSpawn
()
10
{
11
super
.OnDebugSpawn();
12
13
EntityAI
entity
;
14
if
(
Class
.
CastTo
(
entity
,
this
))
15
GetInventory().CreateAttachment(
"HuntingOptic"
);
16
}
17
};
BoltActionRifle_ExternalMagazine_Base
Definition
BoltActionRifleExternalMagazine_Base.c:113
CZ550_Base
Definition
CZ550.c:2
CZ550_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
CZ550.c:3
CZ550_Base::OnDebugSpawn
override void OnDebugSpawn()
Definition
CZ550.c:9
CZ550Recoil
Definition
CZ550Recoil.c:2
Class
Super root of all classes in Enforce script.
Definition
EnScript.c:11
EntityAI
Definition
Building.c:6
Param3
Definition
EntityAI.c:95
RecoilBase
Definition
RecoilBase.c:2
Class::CastTo
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
scripts
4_World
Entities
Firearms
Rifle
CZ550.c
Generated by
1.10.0