Auto-translated
Hello! I've encountered what seems like a simple problem. I can't get the quest stage check to work. Can you tell me what I'm doing wrong?
progress = GetObjectiveProgress("obj_alh", 1);
function func_alh_complite ()
if (progress == 1)
then MessageBox ("/Maps/SingleMissions/Vayshan0_1/mess_alh_complite.txt");
SetObjectiveProgress("obj_alh", OBJECTIVE_COMPLETED);
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "reg_alh_complite", nil);
end;
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "reg_alh_complite", "func_alh_complite");