Skip to content
User Avatar
#3566
Auto-translated
}{0TT@6bI4
while 1 do
pfonix = GetHeroCreatures( "Main_Hero", CREATURE_PHOENIX);
if pfonix >= 5 then
SetObjectiveState("dzad3", OBJECTIVE_COMPLETED);
SetObjectiveState("dzad2", OBJECTIVE_FAILED);
break;
end;
sleep(1)
end

The last loop is missing a sleep command, so if the condition pfonix >= 5 (correctly spelled phoenix, not pfonix in English) is not met, the game will crash after the first iteration. Something like that.

Now everything is clear. Thank you very much!
Сценарий: "Наследие прошлого"
Кампании:
"
Новый порядок", "Серый Альянс""Поиски Истины"

Трейлер №2 кампании "Дыхание Пустоты": https://www.youtube.com/watch?v=XkHKXk5BctA&ab_channel=%D0%90ndrei_21