Skip to content

Current questions and answers regarding the map editor.

User Avatar
#2748
Auto-translated
1) Everything is clear. Music doesn't work as such, and not just with your music. 2)
function ambush(hero)
Trigger(6, "region name", nil)
for i=0,6 do
local id, n = GetObjectArmySlotCreature(hero, i)
if id ~= 0 then
RemoveHeroCreatures(hero, id, ceil(n*0.3))
end
end
end

Trigger(6, "region name", "ambush")
3) The script for the flame-spitting ability works with everyone who uses it. The blue glow is normal. This is how all non-statistical objects are highlighted.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

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