Skip to content
User Avatar
#1542
Auto-translated
AkaR
Please help! I can't figure out what's wrong; the script just won't work, no matter what I try.
function biaraF()
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "biara", nil);
MessageBox(GetMapDataPath()..'text9.txt');
SetObjectPosition('Raelag', 8, 129, 0)
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "biara", "biaraF");

It seems like everything is correct, and the hero's name matches the script, so there shouldn't be any errors here. The console displays: "Can't find terrain info file for map... and the map directory." All other scripts work, but this one doesn't react at all when entering the region :smile32:
So, the error isn't in the script. I'm encountering this error for the first time. Perhaps the file containing the map's geography is corrupted, or the link is incorrect.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

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