DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
B95.c
См. документацию.
2{
4 {
5 return new B95Recoil(this);
6 }
7
8
9 //Debug menu Spawn Ground Special
10 override void OnDebugSpawn()
11 {
12 //super.OnDebugSpawn();
13 SpawnAmmo("Ammo_308Win",SAMF_DEFAULT);
14 GameInventory inventory = GetInventory();
15
16 inventory.CreateInInventory( "HuntingOptic" );
17
18
19 EntityAI entity;
20 if ( Class.CastTo(entity, this) )
21 {
22 entity.SpawnEntityOnGroundPos("Ammo_308Win", entity.GetPosition());
23 }
24 }
25
26};
27class B95 : B95_base {};
28class SawedoffB95 extends B95_base {};
override void OnDebugSpawn()
Определения B95.c:10
override RecoilBase SpawnRecoilObject()
Определения B95.c:3
Определения B95.c:2
Определения B95.c:27
Определения B95Recoil.c:2
Super root of all classes in Enforce script.
Определения EnScript.c:11
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
script counterpart to engine's class Inventory
Определения RecoilBase.c:2
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.