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

◆ IsWearingGag()

bool ActionUngagTarget::IsWearingGag ( PlayerBase player)
inlineprivate

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

55 {
56 EntityAI attachment;
57 Class.CastTo(attachment, player.GetInventory().FindAttachment(InventorySlots.MASK));
58 if (attachment && attachment.GetType() == "MouthRag")
59 {
60 return true;
61 }
62 return false;
63 }
class LogManager EntityAI

Перекрестные ссылки Class::CastTo().

Используется в ActionCondition().