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

Dying breaks player behavior scripts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.0.64 Beta
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed
    • Platform:
      Multiple

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: