А у меня между прочим этот скрипт не работает!
if GetDifficulty () = 0 then
AddHeroCreatures ('Isabell', 2, 100);
AddHeroCreatures ('Isabell', 4, 50);
AddHeroCreatures ('Isabell', 6, 30);
print ('Generated army for hero Изабель: 100 Ополченцы, 50 Арбалетчики, 30 Латники, 10 Королевские грифоны');
end;
if GetDifficulty () = 1 then
AddHeroCreatures ('Isabell', 2, 150);
AddHeroCreatures ('Isabell', 4, 100);
AddHeroCreatures ('Isabell', 6, 50);
AddHeroCreatures ('Isabell', 8, 10);
print ('Generated army for hero Изабель: 150 Ополченцы, 100 Арбалетчики, 50 Латники, 20 Королевские грифоны');
end;
if GetDifficulty () = 2 then
AddHeroCreatures ('Isabell', 2, 200);
AddHeroCreatures ('Isabell', 4, 120);
AddHeroCreatures ('Isabell', 6, 70);
AddHeroCreatures ('Isabell', 8, 20);
print ('Generated army for hero Изабель: 200 Ополченцы, 120 Арбалетчики, 70 Латники, 30 Королевские грифоны');
end;
if GetDifficulty () = 3 then
AddHeroCreatures ('Isabell', 2, 250);
AddHeroCreatures ('Isabell', 4, 150);
AddHeroCreatures ('Isabell', 6, 100);
AddHeroCreatures ('Isabell', 8, 40);
print ('Generated army for hero Изабель: 250 Ополченцы, 150 Арбалетчики, 100 Латники, 50 Королевские грифоны');
end;
Консоль ругается:
(Script) ERROR: 'then' expected;
last token read: `0' at line 10 has string 'DoString script'
Script failed, unknown error
Я уже совсем замучился!

Что делать
