Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
Auto-translated
Hello. I recently noticed that when one of the players on a team wins a game, the other players on that team lose. Does anyone know how to make it so that all players on the same team win? I have the objective_manual objective, so ideally I would like a script-based solution, but I am willing to change the objective type if there are other working options. I tested objective_defeat_all, and it's the same. I would appreciate any help.
Мои карты: Белый Храм, Поменяться местами, Судьба королевства, Стихийные острова.
In reply to Markel the Imperor
User Avatar
Auto-translated
Markel the Imperor
and if possible, a similar question regarding the "Reinforcement" spell, to make the hero use it via scripts
Just write code with conditions under which a hero who possesses this spell will "use" it - deduct movement points and mana from him, and in return, grant him an army. Honestly, you've asked a good question. I hadn't even thought about whether the AI uses this ability before :D

Всякое/карты:

Добавление недостающей музыки гномам

Auto-translated
Could you please advise a newbie on how to configure an army for a hero that you plan to send to the dungeon? Also, there's another issue: in the shared line, I enter the link to the desired hero, but after pressing Enter, it resets and displays "null."
In reply to ТвердыйХлебушек
User Avatar
Auto-translated
TverdyiHlebushok
How do you set up an army for a hero that you plan to throw into a dungeon?

You place the dungeon, select it, press Spacebar, choose Custom in the window that appears, then click Add and select the hero you want in the Hero field (click on the field, and it will give you a list of all (or almost all) the heroes in the game). When you choose a hero, in the hero's window, go to the Army section; the first line (clickable) is the selection of creatures, and after that, their quantity.

Also, you can set up a hero's army outside of this window; after adding the hero, go to his Shared settings in the dungeon configuration, in the PrisonedHero line.

TverdyiHlebushok
In the shared line, I write the link to the desired hero, but after pressing Enter, it resets it and writes null.

Either the path is not specified correctly, or there is no hero file at the specified link.

Всякое/карты:

Добавление недостающей музыки гномам

Statistics

Welcome our newest member: Emil