Edit

Share via


/dialogue Command

Opens NPC dialogue for a player. See the page on the Dialogue documentation for more information.

Permission Level Game Directors
Requires Cheats? Yes

Usage

Dialogue with NPC and player, optional sceneName

/dialogue open <npc: target> <player: target> [sceneName: string]

Open a specific scene with an npc and player using an optional sceneName.

Dialogue with NPC and sceneName, optional player

/dialogue change <npc: target> <sceneName: string> [players: target]

Change the dialogue npc and sceneName, with an optional player.

Arguments

  • npc: target Required. The target for the NPC menu. Must be a target selector for an entity with type NPC.
  • player: target Target to display menu. A player name string or target selector to identify the player.
  • players: target
  • sceneName: string A string that specifies the scene file to run from the behavior pack.