Skip to content

QuestObjectiveConfigurationPopup ​

Inherits: ConfirmationDialog

Popup for configuring quest objectives with trigger selection and objective-specific settings

Description ​

Uses EventTypeSelector for trigger selection and adds objective-specific UI:

  • Progress display options
  • Hide description toggle
  • Custom description field

Variables ​

booledit_modefalse
QuestObjectiveediting_objectivenull
boolhide_descriptionfalse
booloptionalfalse
intprogress_display1 # Default to TALLY_PROGRESS
Stringcustom_description""

Methods ​

voidset_dialog_manager( manager: DialogManager )
voidsetup( trigger_types_dict: Dictionary, additional_data: Dictionary = {} )
voidsetup_for_edit( objective: QuestObjective, trigger_types_dict: Dictionary )

Signals ​

selection_made( trigger_data: Dictionary, objective_settings: Dictionary, param_values: Dictionary ) ​

objective_edited( objective: QuestObjective, trigger_data: Dictionary, objective_settings: Dictionary, param_values: Dictionary ) ​

Variable descriptions ​

bool edit_mode = false ​

No description yet.

QuestObjective editing_objective = null ​

No description yet.

bool hide_description = false ​

No description yet.

bool optional = false ​

No description yet.

int progress_display = 1 # Default to TALLY_PROGRESS ​

No description yet.

String custom_description = "" ​

No description yet.

Method descriptions ​

void set_dialog_manager( manager: DialogManager ) ​

Set the dialog manager for the event selector

void setup( trigger_types_dict: Dictionary, additional_data: Dictionary = {} ) ​

Setup the popup for creating a new quest objective

void setup_for_edit( objective: QuestObjective, trigger_types_dict: Dictionary ) ​

Setup the popup for editing an existing quest objective