Skip to main content

NPCTraitKeepBestOption

Callable

  • NPCTraitKeepBestOption(C: NPCCharacter, Group: string): void

  • Finds and keeps the best possible option for a specified NPC dialog group. A group is a list of similar options where each option is influenced by a specified trait.


    Parameters

    • C: NPCCharacter

      NPC to get the dialog of

    • Group: string

      Name of the dialog group to look for

    Returns void

    • Nothing.