Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Opens NPC dialogue for a player. See the page on the Dialogue documentation for more information.
| Permission Level | Game Directors |
| Requires Cheats | Yes |
Sub-commands
open
/dialogue open <npc: target> <player: target> [sceneName: id]
Open a specific scene with an npc and player using an optional sceneName.
| Argument | Type | Required | Description |
|---|---|---|---|
| npc | target | Required | Required. The target for the NPC menu. Must be a target selector for an entity with type NPC. |
| player | target | Required | Target to display menu. A player name string or target selector to identify the player. |
| sceneName | id | Optional | A string that specifies the scene file to run from the behavior pack. |
change
/dialogue change <npc: target> <sceneName: id> [players: target]
Change the dialogue npc and sceneName, with an optional player.
| Argument | Type | Required | Description |
|---|---|---|---|
| npc | target | Required | Required. The target for the NPC menu. Must be a target selector for an entity with type NPC. |
| sceneName | id | Required | A string that specifies the scene file to run from the behavior pack. |
| players | target | Optional | Target to display menu. A player name string or target selector to identify the player. |
Arguments Reference
| Argument | Type | Description |
|---|---|---|
| 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 | Target to display menu. A player name string or target selector to identify the player. |
| sceneName | id | A string that specifies the scene file to run from the behavior pack. |