Then I would advise you not to rush into creating a campaign, but rather pay more attention to the maps. You will have to stitch the campaign together using a text editor and archivers.
I looked at the script for your map and saw this:
function GetTown(heroname)
if heroname == "Hero9"
then while IsHeroGetTown("Bahia") do
sleep(5)
end;
Win()
--or--
Win(1)
end;
end;
function new_day()
local day, wday, week, month = GetDate(DAY), GetDate(DAY_OF_WEEK), GetDate(WEEK), GetDate(MONTH)
if month == 7 then
Loose(1)
end
if month == 5 and week == 1 and wday == 1 then
DeployReserveHero('', 5, 135, 1)
Trigger(NEW_DAY_TRIGGER, "new_day", "Army")
end;
end;
Trigger(NEW_DAY_TRIGGER, 'new_day')You said that you are a complete novice in writing scripts, but here there is already some kind of improvisation, and with a 99.9% probability, it will not work.
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4