Skip to content
User Avatar
#171
Auto-translated
I've started learning scripting. Here's my first problem:
function oneF()
  MessageBox("/Maps/SingleMission/Test_map3/text.txt");
  Trigger(REGION_ENTER_AND_STOP_TRIGGER, "one", nil);
end;

Trigger(REGION_ENTER_AND_STOP_TRIGGER, "one", "oneF");

The trigger works (the hero stops), but the function doesn't. What's the problem?