Skip to main content

QUEST_FAILED

[[QUEST_FAILED]]

Indicates that the quest has failed. After it is activated, the game on hQuestMaster will be terminated, and a message indicating that the mission has failed will be displayed.

  • Example: {[[(G), ON_STEP]] You were told not to stay close to the cursed tomb. As you step closer, several ghosts start to circle around you and soon you realize that the ancient hex is now complete. Your Quest has failed! [[QUEST_FAILED]]}

In this example, as soon as a hero steps on one of the cells with marker G, the message "You were told not to stay close ..." will appear on the screen, and the quest will be completed. NOTE: In this case, a marker has been used multiple times with the ON_STEP command. This way, stepping on just one of the cells with the marker will activate the action.