Auto-translated
I'm just writing in a very simple language.
I create a region with the name "qaz".
I write this:
function qaz (heroname)
if heroname == "Metlirn" then
CreateArtifact(54, 54, 20, 10, 0);
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "qaz", nil);
end;
It gives an "undefined qaz" error. How do I assign the region to it?