Skip to content
Roblox API Reference

Dialog

Creates NPC billboard-style dialog bubbles.
Memory category
Instances
Own members
15
Inherited members
75
Subclasses
0
Siblings
608

Properties33

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byDialog10

Property categoryData

  • Sets whether the Dialog can be used by multiple players at once.
    • Read capabilities: UI
  • Dialog.ConversationDistance: number = 25
    The furthest distance that a player can be from the Dialog's parent to start a conversation.
    • Read capabilities: UI
  • Dialog.GoodbyeChoiceActive: boolean = true
    Toggles whether the goodbye option will be displayed.
    • Read capabilities: UI
  • Dialog.GoodbyeDialog: string = ""
    Sets the sentence that the dialog will show to the player when the chat ends.
    • Read capabilities: UI
  • Dialog.InitialPrompt: string = ""
    Sets the first sentence that the dialog will show to the player, once a chat is commenced.
    • Read capabilities: UI
  • Dialog.InUse: boolean = false
    If true, this dialog is being used by at least one player.
    • Read capabilities: UI
  • Sets the icon that the initial dialog displays.
    • Read capabilities: UI
  • Sets the color of the NPC's speech bubble.
    • Read capabilities: UI
  • Dialog.TriggerDistance: number = 0
    Sets the maximum distance that a dialog can be triggered from.
    • Read capabilities: UI
  • Dialog.TriggerOffset: Vector3 = Vector3.zero
    Sets the offset of the dialog relative to the dialog's parent.
    • Read capabilities: UI

Methods46

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byDialog4
  • Dialog:GetCurrentPlayers(): { Instance }
    Returns a list of players currently using the Dialog.
    • Capabilities: UI
    Returns
    TypeDescription
    { Instance }
    A list of Player objects currently engaged in the Dialog.
  • Dialog:SetGuiObject(gui: BillboardGui)
    • Roblox script security
    • Capabilities: UI
    Parameters
    Parameter
    gui: BillboardGui
  • Dialog:SetPlayerIsUsing(player: Instance, isUsing: boolean)
    • Roblox script security
    • Capabilities: UI
    Parameters
    Parameter
    player: Instance
    isUsing: boolean
  • Dialog:SignalDialogChoiceSelected(player: Instance, dialogChoice: Instance)
    • Roblox script security
    • Capabilities: UI
    Parameters
    Parameter
    player: Instance
    dialogChoice: Instance

Events11

Inherited fromObject1
Inherited fromInstance9
Defined byDialog1