Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-178382

Dialogue files don't load commands successfully

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.51 Hotfix
    • None
    • Unconfirmed
    • Windows

      Commands are not being registered when loaded via a dialogue file in a behaviour pack. They'll only work after being inserted manually on another npc.

      Steps to reproduce:

      1. Spawn a NPC
      2. Use /dialogue to change their dialogue
      3. Try using buttons to run commands preselected by the dialogue file

      Observed result:
      The buttons and commands won't be run.

      Expected result:
      The button should run the commands

      1. Spawn another NPC
      2. Insert the same button command you put in the dialogue file
      3. Try using the button

      Observed result:
      The command will work on all NPCs including the one with the file dialogue

      Expected result:
      The commands on all npcs should have already worked before

      Video, dialogue file in the attachments, ad-ons enabled put in the .zip file in the attachments (the packs don't edit the npc's behavior or look)

            TheblueJo TheblueJo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: