Classes
HRNPCDialogueConfig
turnOff: { minimap: boolean, playerVisibility: boolean }
Choose the different options to turn off on focus
transitionDuration: number
the duration for the focus transition (in miliseconds)
themeColor: { r: number<255>, g: number<255>, b: number<255> }
the color of the theme in all dialogues
HRNPCDialogueOptions
npcName: string
the label for NPC name
questions: { label: string, possibleAnswers: { label: string, closeOnSelect: boolean?, onSelect: function? }[] }[]
the questions list
onCancel: function?
function called when the players closes the dialogue with no answer to question
Last updated