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