Skip to content

How to create a quest with a region.

User Avatar
#3
Auto-translated
}{0TT@6bI4
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)
Okay, and thank you very much 😀