Skip to content
User Avatar
#2979
Auto-translated
Can I update/add texts to the quest description?
Manual quests support execution stages; you can configure a separate description text for each stage. See the SetObjectiveProgress function and the ProgressCommentsFileRef property of the quest.
How do I set the day for executing a specific function, starting the count from the day another function is executed?
At the moment of counting, remember the current day:
start_day_for_waiting_something_important = GetDate(ABSOLUTE_DAY);
Then, check in a trigger for a new day whether the required time has passed:
Trigger(NEW_DAY_TRIGGER, 'NewDay');
function NewDay()
if ((GetDate(ABSOLUTE_DAY) - start_day_for_waiting_something_important) == REQUIRED_TIME) then
YOUR CODE
end
end
РПГ-сценарий для HoMM5: Путь героя
ЧаВо по созданию карт для HoMM5: ЧаВо

Statistics

Welcome our newest member: leyu