Auto-translated
Hello. I have a question: is it possible to create a quest that is automatically completed when the player enters a specific region? If this is possible, could you please provide instructions on how to do it?
New here? I'm Roha — want a quick tour?
function ObjectiveComplete(hero)
if hero=="your hero's name" then
SetObjectiveState("Scripted quest name", OBJECTIVE_COMPLETED, PLAYER_Player number)
end
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Region name", "ObjectiveComplete")
Please ask similar small questions in the appropriate topics: Scripts and Current questions and answers about the map editor, so as not to create new topics)