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

◆ ActionCondition()

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

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

43 {
44 if ( item.IsTransmitter() )
45 {
46 ItemMegaphone megaphone = ItemMegaphone.Cast( item );
47
48 if ( megaphone && megaphone.GetCompEM().IsWorking() )
49 {
50 return true;
51 }
52 }
53
54 return false;
55 }
Определения Megaphone.c:2

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