Skip to content
User Avatar
#1137
Auto-translated
RedHeavenHero
So, you need an array where all indices are integers, differing from each other by 1, and it should be possible to insert new elements between others and delete old ones with shifting?
Correct. But it's not that difficult to write yourself, but it would be great if there was a way to use a match table or some library... :rolleyes:

Added 5 minutes later
And can the index be a string?
Like this:
array = {"Chupa" = 0, "Lapa" = 2,"Nuba" = 0, "Roma" = 2}
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...