Skip to content
User Avatar
#3167
Auto-translated
Kolin, here's an excerpt from the FAQ (you can find it in my signature):
How to create a quest?

Map Properties Tree -> Objectives -> Primary (main) or Secondary (optional) -> Common (quests for all players) or PlayerSpecific (quests for a specific player) -> [PLAYER NUMBER] -> Objectives -> Right-click -> Add

For the added quest, configure/check the following fields:
1) Name – the script name of the quest, which can be used to manage it.
2) CaptionFileRef – the file containing the quest name displayed in the game.
3) DescriptionFileRef – the file containing the quest description displayed in the game.
4) ProgressCommentsFileRef – if the quest consists of several stages (e.g., kill 3 groups of monsters), you can add files with additional descriptions for each stage here. The game will initially display the general description of the quest from DescriptionFileRef, followed by the description of the current stage from ProgressCommentsFileRef. If the quest has stages, it will start at stage zero.

...

-- quest progress
-- progress – the stage number corresponding to ProgressCommentsFileRef
SetObjectiveProgress(‘SCRIPT_NAME_OF_THE_QUEST’, progress);
РПГ-сценарий для HoMM5: Путь героя
ЧаВо по созданию карт для HoMM5: ЧаВо

Statistics

Welcome our newest member: leyu