Skip to content

Current questions and answers regarding the map editor.

User Avatar
#2528
Auto-translated
Heroist
In the trigger, the function 1massageF is called, but at the top, its name is different: 1messegerF, which are completely different things. And it should be SetObjectEnabled, not ArgObjectEnabled. And it should be message, not massage.

function 1messegerF ()
MessageBox ("/Maps/SingleMissions/BettaQuestMap/1massage.txt");
Trigger(OBJECT_TOUCH_TRIGGER,"NothPost",nil);
end;
SetObjectEnabled("NothPost",false);
Trigger(OBJECT_TOUCH_TRIGGER,"NothPost","1messegerF");

This is how it should be done correctly.
The most important thing was forgotten:
Incorrect function name, you cannot start with a number.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

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