function dolmenF()
MessageBox("/Maps/Multiplayer/JoyPatriot/Tekst/dolmens.txt");
Trigger(OBJECT_TOUCH_TRIGGER, "dolmen1", nil);
end;
SetObjectEnabled("dolmen1", false);
Trigger(OBJECT_TOUCH_TRIGGER, "dolmen1", "dolmenF");
I've started learning scripts and wrote a fairly simple script, but it doesn't work. I've checked it several times; the object name is correct, and the path to the text is also correct. The object is not disabled; it's still working, and the specified text doesn't indicate what's wrong. I don't understand.