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

◆ GetSelectionFromAnimSource()

string Car::GetSelectionFromAnimSource ( string animSource)
inlineprotected

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

2509 {
2510 // Brute force for vehicles that aren't set up
2511
2512 TStringArray allSelections = new TStringArray();
2513 GetSelectionList(allSelections);
2514
2515 foreach (string selectionAll : allSelections)
2516 {
2517 string animSrc = GetAnimSourceFromSelection(selectionAll);
2518 animSrc.ToLower();
2519 if (animSrc != animSource)
2520 continue;
2521
2522 if (animSrc)
2523 {
2524 return selectionAll;
2525 }
2526 }
2527
2528 return "";
2529 }
string GetAnimSourceFromSelection(string selection)
Определения CarScript.c:2503
array< string > TStringArray
Определения EnScript.c:709
proto int ToLower()
Changes string to lowercase. Returns length.

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

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