QuestSetEnabled
- Parameters
-
whichQuest quest
The quest to modify.
enabled boolean
The new enabled state.
true
for enabled/showing,false
for disabled/hiding. - comment
-
Enables or disables a quest, showing or hiding it in the quest menu.
- note
-
Quests created earlier show further up in the lists in the quest menu.
- note
-
Quests are enabled on default.
- note
-
When the quest that is currently selected in the quest menu is disabled, opening the quest menu will try to select the next enabled quest (from any of the required or optional quest lists).
- bug
-
Disabling the last remaining enabled quest will not disable the quest menu and it will still display the last rendered quest description.
- note
-
The enabled state of a quest will only be re-rendered after the quest menu is re-opened or when an update is forced (see
ForceQuestDialogUpdate
). - patch
-
1.00
- Source
- common.j
- return type
-
nothing
- Source code
-
native QuestSetEnabled takes quest whichQuest, boolean enabled returns nothing