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

◆ GenerateRandomEquip()

void MenuDefaultCharacterData::GenerateRandomEquip ( )
inlineprivate

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

1017 {
1019
1020 int slot_ID;
1021 string attachment_type;
1022 for (int i = 0; i < DefaultCharacterCreationMethods.GetAttachmentSlotsArray().Count(); i++)
1023 {
1024 slot_ID = DefaultCharacterCreationMethods.GetAttachmentSlotsArray().Get(i);
1025 if (DefaultCharacterCreationMethods.GetConfigArrayCountFromSlotID(slot_ID) > 0)
1026 {
1027 attachment_type = DefaultCharacterCreationMethods.GetConfigAttachmentTypes(slot_ID).GetRandomElement();
1028 //if (attachment_type != "")
1029 SetDefaultAttachment(slot_ID,attachment_type);
1030 }
1031 }
1032 }
@ Count
Определения RandomGeneratorSyncManager.c:8
void ClearAttachmentsMap()
Определения gameplay.c:1006
void SetDefaultAttachment(int slotID, string type)
Определения gameplay.c:1011

Перекрестные ссылки ClearAttachmentsMap(), Count и SetDefaultAttachment().