DayZ
1.24
Loading...
Searching...
No Matches
B95.c
Go to the documentation of this file.
1
class
B95_base
:
DoubleBarrel_Base
2
{
3
override
RecoilBase
SpawnRecoilObject
()
4
{
5
return
new
B95Recoil
(
this
);
6
}
7
8
9
//Debug menu Spawn Ground Special
10
override
void
OnDebugSpawn
()
11
{
12
super
.OnDebugSpawn();
13
GameInventory
inventory
= GetInventory();
14
15
inventory
.CreateInInventory(
"HuntingOptic"
);
16
17
18
EntityAI
entity
;
19
if
(
Class
.
CastTo
(
entity
,
this
))
20
entity
.SpawnEntityOnGroundPos(
"Ammo_308Win"
,
entity
.GetPosition());
21
}
22
23
};
24
class
B95
:
B95_base
{};
25
class
SawedoffB95
extends
B95_base
{};
B95_base
Definition
B95.c:2
B95_base::OnDebugSpawn
override void OnDebugSpawn()
Definition
B95.c:10
B95_base::SpawnRecoilObject
override RecoilBase SpawnRecoilObject()
Definition
B95.c:3
B95
Definition
B95.c:24
B95Recoil
Definition
B95Recoil.c:2
Class
Super root of all classes in Enforce script.
Definition
EnScript.c:11
DoubleBarrel_Base
Definition
DoubleBarrel_Base.c:119
EntityAI
Definition
Building.c:6
GameInventory
script counterpart to engine's class Inventory
Definition
Inventory.c:79
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
B95.c
Generated by
1.10.0