Posts from Current questions and answers regarding the map editor.
That's not the case.
so you must have confused it with something else.
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Added 10 minutes later
And here's a question: will the buildings burn down if ANY hero/player captures them, or only if Vlad does?
Added 32 minutes later
And how do I add a skeleton object to the map? I can't find it in the All-Terrain Objects.
How can I prevent the player from choosing a color (and also prevent choosing the player if the castle and hero are not random)?
What conditions are needed to include a map in your campaign?
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Hello everyone. What needs to be done so that creatures from the Dungeon faction join a hero with a specific name?
function InitDungeonCreatures()
for i, mob in GetObjectNamesByType"CREATURE" do
local type = GetObjectArmySlotCreature(mob, 0)
if (type >= CREATURE_SCOUT and type <= CREATURE_BLACK_DRAGON) or (type >= CREATURE_STALKER and type <= CREATURE_RED_DRAGON) then
SetObjectEnabled(mob, nil)
Trigger(4, mob, "TouchDundeonCreature")
end
end
end
function TouchDundeonCreature(hero, monster)
if hero == "hidden hero name" then
SetMonsterCourageAndMood(monster, 1, 0, 0)
end
SetObjectEnabled(monster, 1)
Trigger(4, monster, nil)
sleep(1)
MakeHeroInteractWithObject(hero, monster)
end
startThread(InitDungeonCreatures)
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Ask again or check the previous page.
Also: how do I make it so that when creating a game, the player selection shows which players are playing as which heroes? And why do all the settings revert after exiting the editor when I make changes in the "player" section?