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

◆ ActionCondition()

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

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

33 {
34 Object targetObject = target.GetObject();
35 if (targetObject)
36 {
37 TIntArray componentIndices = new TIntArray();
38 targetObject.GetActionComponentsForSelectionName(targetObject.GetViewGeometryLevel(), UAMisc.LIQUID_SOURCE_SELECTION, componentIndices);
39 if (componentIndices.Count() > 0 && componentIndices.Find(target.GetComponentIndex()) == -1)
40 return false;
41 }
42
43 return true;
44 }
Определения ObjectTyped.c:2
const string LIQUID_SOURCE_SELECTION
Определения ActionConstants.c:180
Определения ActionConstants.c:176
array< int > TIntArray
Определения EnScript.c:733

Перекрестные ссылки ActionTarget() и UAMisc::LIQUID_SOURCE_SELECTION.