DayZ 1.24
Loading...
Searching...
No Matches
B95_base Class Reference
Inheritance diagram for B95_base:
[legend]
Collaboration diagram for B95_base:
[legend]

Private Member Functions

override RecoilBase SpawnRecoilObject ()
 
override void OnDebugSpawn ()
 

Detailed Description

Definition at line 1 of file B95.c.

Member Function Documentation

◆ OnDebugSpawn()

override void B95_base::OnDebugSpawn ( )
inlineprivate

Definition at line 10 of file B95.c.

11 {
12 super.OnDebugSpawn();
13 GameInventory inventory = GetInventory();
14
15 inventory.CreateInInventory("HuntingOptic");
16
17
19 if (Class.CastTo(entity, this))
20 entity.SpawnEntityOnGroundPos("Ammo_308Win", entity.GetPosition());
21 }
Super root of all classes in Enforce script.
Definition EnScript.c:11
script counterpart to engine's class Inventory
Definition Inventory.c:79
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

References Class::CastTo().

◆ SpawnRecoilObject()

override RecoilBase B95_base::SpawnRecoilObject ( )
inlineprivate

Definition at line 3 of file B95.c.

4 {
5 return new B95Recoil(this);
6 }

The documentation for this class was generated from the following file: