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

◆ ActionCondition()

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

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

62 {
63 EntityAI targetEntity = EntityAI.Cast(target.GetObject());
64 if (targetEntity && item)
65 {
66 return targetEntity.GetInventory() && targetEntity.GetInventory().CanAddAttachment(item) && !targetEntity.CanUseConstruction());
67 }
68
69 return false;
70 }
Определения Building.c:6

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