CreateQuest

comment

Creates a new quest.

note

Quests are enabled on default (see QuestSetEnabled).

bug

You should either immediately set the description of the quest to a non-null, non-empty string (see QuestSetDescription), disable it (see QuestSetEnabled), or set in undiscovered (see QuestSetDiscovered) to avoid the game crashing when the quest's description is trying to render in the quest menu.

bug

Do not use this in a global initialisation as it crashes the game there.

note

A new enabled quest will only show after the quest menu is re-opened or when an update is forced (see ForceQuestDialogUpdate).

patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
quest
Source code
native CreateQuest          takes nothing returns quest