Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
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
{
16
GetInventory().CreateAttachment(
"HuntingOptic"
);
17
}
18
}
19
};
BoltActionRifle_ExternalMagazine_Base
Definition
boltactionrifleexternalmagazine_base.c:113
CZ550_Base
Definition
cz550.c:2
CZ550_Base::OnDebugSpawn
override void OnDebugSpawn()
Definition
cz550.c:9
CZ550_Base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
cz550.c:3
CZ550Recoil
Definition
cz550recoil.c:2
Class
Super root of all classes in Enforce script.
Definition
enscript.c:11
EntityAI
Definition
inventoryitem.c:2
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.
Games
Dayz
scripts
4_world
entities
firearms
rifle
cz550.c
Generated by
1.17.0