Skip to content

Current questions and answers regarding the map editor.

User Avatar
#3413
Auto-translated
why doesn't this piece of code work?
while (contr==1) do
              contr=0;
              for i=1,95 do
                      if HasArtefact("geroy", i)==true then
                             RemoveArtefact("geroy", i);
                             if contr==0 then
                                     contr=1;
                             end;
                     end;
              end;
       end;
More precisely, it works, but the game gets stuck in a loop and freezes. The idea is to remove all artifacts from the hero, taking into account that some may be duplicated.
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира

Statistics

Welcome our newest member: artem