Skip to main content

CharacterLoadNPC

Callable


  • Loads an NPC into the character array. The appearance is randomized, and a type can be provided to dress them in a given style.


    Parameters

    • CharacterID: string

      The unique identifier for the NPC

    • optionalNPCType: string

      The dialog used by the NPC. Defaults to CharacterID if not specified.

    • module: ModuleType = null
    • screen: string = null

    Returns NPCCharacter

    • The randomly generated NPC