Skip to content

Current questions and answers regarding the map editor.

User Avatar
#2812
Auto-translated
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, "TouchDungeonCreature") end end end function TouchDungeonCreature(hero, monster) if hero == "Dalom" then SetMonsterCourageAndMood(monster, GetObjectOwner(hero), 0, 0) end sleep() Trigger(4, monster, nil) SetObjectEnabled(monster, 1) sleep() MakeHeroInteractWithObject(hero, monster) end ``` And by any chance, are their "circles" disabled?
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4