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

◆ ActionCondition()

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

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

20 {
21 ItemOptics optic;
22 if( Class.CastTo(optic, item) && optic.IsInOptics() )
23 {
24 return true;
25 }
26 return false;
27 }
proto native bool IsInOptics()
is weapon in optics mode or not

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