Auto-translated
function armyRun(hero)
if hero=='Brem' then
MessageBoxForPlayers(GetPlayerFilter(GetCurrentPlayer()),GetMapDataPath().."armyrun.txt")
MoveHeroRealTime('Brem',87,20)
for i=1,179 do
if i==13 or i==14 then
RemoveHeroCreatures('Brem',i,GetHeroCreatures('Brem',i)-1)
else
RemoveHeroCreatures('Brem',i,1E6)
end
end
Trigger(6,'armyrun',nil)
end
end
Trigger(6,'armyrun','armyRun')
```
jackysm, in the first function, write something like kirassadHero=heroname remove heroname from the parentheses of the second function and replace heroname with kirassadHero in GiveArtifact.
jackysm, in the first function, write something like kirassadHero=heroname remove heroname from the parentheses of the second function and replace heroname with kirassadHero in GiveArtifact.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4