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

Problems with the execute if score, unless score command, namely the inability to compare the scoreboard of several entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21.2 Hotfix
    • None
    • Unconfirmed
    • Android

      What is the problem? Now IT IS IMPOSSIBLE TO COMPARE THE SCORES OF SEVERAL ENTITIES . ABSOLUTELY ALL ACTIONS IN execute if score should be directed only to one entity and the execution of the command should be only for this entity. It makes it impossible to create a huge number of mechanisms and it has suspended the work of many projects

      I played on version 1.19.20.80 - there were no problems. I switched to 1.20.51 and starting from this version there was a problem with execution.

       

      When I use execute if score I get an error that this setting allows more than one entity - by default, only one is allowed one entity. For example,

      execute if score @e [tag=some] Money  = @s Money  run title @a title some 

      =(x)this setting allows more than one entity - by default, only one entity is allowed

      this command does not work, it gives the error that I wrote above. This also happens if you compare the table of one entity but display the caption of another, for example

      execute if score @s Money = @s Money2 run kill @e[type=npc]

      =this setting allows more than one entity - by default, only one entity is allowed

      But! If you write @a not @e, command is completed 

      For example:

      execute if score @s Money = @s Money2 run title @a title Hello

      =Hello

      Also this command does not work with "matches", for example :

      execute if score @s Money matches 1..10 run kill @e[r=4]

      =this setting allows more than one entity - by default, only one  entity is allowed

      But it will do if I will use @a or @s 

      execute if score @s Money matches 1..10 run title @a(@s) title Hello

      =Hello

      meaning somehow now all commands are executed if the evaluation should be directed at one entity, this hurts many ideas.this error needs to be corrected urgently. This slows down all projects, many maps have stopped working, a lot of players use score comparisons, most projects are suspended due to syntax failure.

       

            Hahalin_DE Deonxe0405
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: