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

Dying breaks player behavior scripts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.16.0.64 Beta
    • Unconfirmed
    • Multiple

      I'm currently using the script animations in the player file to handle detecting when a player is using a certain item, ie;

      • In the player file, set up the animate script to run an external animation controller
      • In said animation controller detect when the player is holding and using a specific item
      • Switch states and upon entry of next state run an event in the player fileĀ 

      However currently when the player dies all scripts break but everything in the player file still works.

      Reloading does fix the issue, I assume because the scripts are started again when the player file is loaded, which they aren't when the player dies.

            Gruntastic Gruntastic
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: