And a seemingly simple task in standard maps: "defeat everyone"??? Do you know how to create it with scripts so that it also works?
And please provide a script for the prophet's hut.
I'm saying thank you in advance!:o :o :o
As for the script for the hut... Let's try now.
Name the hut "hut" (script name), and the quest "sobj" (script name). The quest is "visit the hut." Then the following code will work:
SetObjectEnabled('hut', false);
function sobjend(hero);
if hero== --script name of your hero-- then
SetObjectiveState('sobj', OBJECTIVE_COMPLETED);
end;
Trigger(OBJECT_TOUCH_TRIGGER, 'hut', nil);
end;
Trigger(OBJECT_TOUCH_TRIGGER, 'hut', 'sobjend', nil);