# Dialog(ロブロックス クラス) > Creates NPC billboard-style dialog bubbles. - URL:https://roblox.minecraft-okinawa.com/reference/classes/Dialog/ - 公式:https://create.roblox.com/docs/reference/engine/classes/Dialog - 受け継いでいるクラス:Instance ## プロパティ - `Dialog.BehaviorType: DialogBehaviorType`:Sets whether the Dialog can be used by multiple players at once. - `Dialog.ConversationDistance: float`:The furthest distance that a player can be from the Dialog's parent to start a conversation. - `Dialog.GoodbyeChoiceActive: boolean`:Toggles whether the goodbye option will be displayed. - `Dialog.GoodbyeDialog: string`:Sets the sentence that the dialog will show to the player when the chat ends. - `Dialog.InitialPrompt: string`:Sets the first sentence that the dialog will show to the player, once a chat is commenced. - `Dialog.InUse: boolean`:If true, this dialog is being used by at least one player. - `Dialog.Purpose: DialogPurpose`:Sets the icon that the initial dialog displays. - `Dialog.Tone: DialogTone`:Sets the color of the NPC's speech bubble. - `Dialog.TriggerDistance: float`:Sets the maximum distance that a dialog can be triggered from. - `Dialog.TriggerOffset: Vector3`:Sets the offset of the dialog relative to the dialog's parent. ## メソッド - `Dialog:GetCurrentPlayers(): Instances`:Returns a list of players currently using the Dialog. ## イベント - `Dialog.DialogChoiceSelected(player: Instance, dialogChoice: Instance)`:Fired when a player chooses something to say, through a Dialog instance. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)