Skip to content
User Avatar
#48
Auto-translated
Progruzovik
This script doesn't work for me:
function DialogF()
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Dialog", nil);
MessageBox("/Maps/SingleMissions/Horse/DialogF.txt");
end;

I created a region named Dialog, and I put the file named DialogF.txt where it needs to be... can you please help!
Try this:
function DialogF()
MessageBox("/Maps/SingleMissions/Horse/DialogF.txt");
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Dialog", nil);
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Dialog", "DialogF");
P.S. It's better to specify the path to the message like this: MessageBox(GetMapDataPath().. "DialogF.txt");
It will be more convenient.;)
Клан "Вершители Асхана" - "Masters of Ashan"

Statistics

Welcome our newest member: leyu