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

◆ CanReceiveAttachment()

bool Entity::CanReceiveAttachment ( EntityAI attachment,
int slotId )
inlineprotected

calls this->CanReceiveAttachment(attachment)

Возвращает
true if action allowed
Заметки
: return scriptConditionExecute(this, attachment, "CanReceiveAttachment");

См. определение в файле 3_Game/DayZ/Entities/EntityAI.c строка 1444

1445 {
1446 //generic occupancy check
1447 return CheckAttachmentReceiveExclusion(attachment,slotId);
1448 }
bool CheckAttachmentReceiveExclusion(EntityAI attachment, int slotId)
checks specifically for att. exclusion conflicts before att. receive

Перекрестные ссылки CheckAttachmentReceiveExclusion() и EntityAI().