DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ActionCondition()

override bool ActionToggleNVG::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

См. определение в файле ActionToggleNVG.c строка 33

34 {
35 NVGoggles goggles;
36 Clothing NVmount;
37 NVmount = Clothing.Cast(target.GetObject());
38 if ( !NVmount )
39 return false;
40 goggles = NVGoggles.Cast(NVmount.FindAttachmentBySlotName("NVG"));
41 if ( goggles )
42 return true;
43
44 return false;
45 }

Перекрестные ссылки ActionTarget.