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
}
EntityAI
Определения
Building.c:6
Перекрестные ссылки
ActionTarget
.
Ishodniki
scripts
4_World
Classes
UserActionsComponent
Actions
SingleUse
ActionAttach.c
Создано системой
1.13.2