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

◆ ComponentIdxContainsSelection()

static bool ComponentIdxContainsSelection ( Object obj,
int compIdx,
string selName )
staticprotected

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

2045 {
2046 array<string> compNames = new array<string>;
2047 obj.GetActionComponentNameList(compIdx, compNames);
2048 foreach (string selection : compNames)
2049 {
2050 if (selection.Contains(selName))
2051 return true;
2052 }
2053
2054 return false;
2055 }
Result for an object found in CGame.IsBoxCollidingGeometryProxy.