Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5045
Auto-translated
Jordan23
Good evening. Could you please tell me how to set the desired range or the desired number of neutral creatures? I might be doing something wrong. I click on the unit, select Custom, set it to 10, then set Range to 19. When I check in the game, sometimes it shows a range of 20-49, and sometimes even 50-99. Is there a way to fix the numbers I set?

As mentioned above, the difficulty level affects this setting. If you need an exact number, check the box for "increment" in the quantity settings and set it to 1. Then, enter the script name, for example, "npc01".

Then, use the script to add the desired number:
mobValue = MathRandom(9, 18);
AddObjectCreatures("npc01", ID, mobValue, 0);
Карты для Heroes V: Повелители орды:
Multiplayer: Господство, Извечное противостояние, Война за Магию, Торговая империя, Анатомия войны, Эксперимент
SingleScenario: Последний Рубеж, Трон, Элиралис, Вернуться домой!, Лабиринты разума
Campaign: Колонизация