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

◆ ActionCondition()

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

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

42 {
43 TerritoryFlag totem = TerritoryFlag.Cast( target.GetObject() );
44 if (!totem)
45 return false;
46
47 float state = totem.GetAnimationPhase("flag_mast");
48 if ( totem.FindAttachmentBySlotName("Material_FPole_Flag") && state > 0 )
49 {
50 return true;
51 }
52
53 return false;
54 }

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