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

◆ GetSelectionFromAnimSource()

string Car::GetSelectionFromAnimSource ( string animSource)
inlineprotected

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

2652 {
2653 // Brute force for vehicles that aren't set up
2654
2655 TStringArray allSelections = new TStringArray();
2656 GetSelectionList(allSelections);
2657
2658 foreach (string selectionAll : allSelections)
2659 {
2660 string animSrc = GetAnimSourceFromSelection(selectionAll);
2661 animSrc.ToLower();
2662 if (animSrc != animSource)
2663 continue;
2664
2665 if (animSrc)
2666 {
2667 return selectionAll;
2668 }
2669 }
2670
2671 return "";
2672 }
string GetAnimSourceFromSelection(string selection)
Определения CarScript.c:2646
array< string > TStringArray
Определения EnScript.c:712
proto int ToLower()
Changes string to lowercase. Returns length.

Перекрестные ссылки CarScript::GetAnimSourceFromSelection() и string::ToLower().

Используется в CreateSoundForAnimationSource().