Auto-translated
How to set a time limit for completing a quest.
quest_start_time = GetDate(ABSOLUTE_DAY);
Using a trigger for a new day, check if the time has expired:
Trigger(NEW_DAY_TRIGGER, 'NewDay');
function NewDay()
if ((check if the quest is active) and (GetDate(ABSOLUTE_DAY) >= (quest_start_time+1))) then
fail the quest
end
end