DayZ
1.30
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
NVGHeadstrap.c
См. документацию.
1
class
NVGHeadstrap
:
Glasses_Base
2
{
3
override
void
SetActions
()
4
{
5
super.SetActions();
6
7
AddAction
(
ActionToggleNVG
);
8
}
9
10
override
protected
void
InitGlobalExclusionValues
()
11
{
12
super.InitGlobalExclusionValues();
13
14
ClearSingleExclusionValueGlobal(EAttExclusions.EXCLUSION_GLASSES_REGULAR_0);
15
AddSingleExclusionValueGlobal(EAttExclusions.EXCLUSION_HEADSTRAP_0);
16
}
17
18
override
ECachedEquipmentItemCategory
GetCachedEquipmentCategory
()
19
{
20
return
ECachedEquipmentItemCategory
.NONE;
21
}
22
23
override
void
OnDebugSpawn
()
24
{
25
EntityAI
item = GetInventory().CreateInInventory(
"NVGoggles"
);
26
item.GetInventory().CreateInInventory(
"Battery9V"
);
27
}
28
}
AddAction
void AddAction(typename actionName)
Определения
AdvancedCommunication.c:220
ECachedEquipmentItemCategory
ECachedEquipmentItemCategory
Определения
ECachedEquipmentItemCategory.c:2
ActionToggleNVG
Определения
ActionToggleNVG.c:2
EntityAI
Определения
3_Game/DayZ/Entities/InventoryItem.c:2
Glasses_Base
Определения
AviatorGlasses.c:2
NVGHeadstrap::SetActions
override void SetActions()
Определения
NVGHeadstrap.c:3
NVGHeadstrap::InitGlobalExclusionValues
void InitGlobalExclusionValues()
Определения
NVGHeadstrap.c:10
NVGHeadstrap::GetCachedEquipmentCategory
override ECachedEquipmentItemCategory GetCachedEquipmentCategory()
Определения
NVGHeadstrap.c:18
NVGHeadstrap::OnDebugSpawn
override void OnDebugSpawn()
Определения
NVGHeadstrap.c:23
NVGHeadstrap
Определения
NVGHeadstrap.c:2
Ishodniki
scripts
4_World
DayZ
Entities
ItemBase
Clothing
NVGHeadstrap.c
Создано системой
1.13.2