Skip to content
User Avatar
#2076
Auto-translated
Abyssal Knight, it would probably be most logical to check this directly during the visit, i.e., add a global variable storing the number of visits: `
region_visit_cnt = 0;
` increment it and check it after the line `region.visited = 1;`
region_visit_cnt = region_visit_cnt + 1;
if(region_visit_cnt >= 5) then
SetObjectiveState(QUEST_NAME, OBJECTIVE_COMPLETED);
end

Statistics

Welcome our newest member: leyu