ENBT integer shows different number in overlay than in chat!

Started by AdriPlaysz on

Topic category: Help with MCreator software

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ENBT integer shows different number in overlay than in chat!

I set up a scoreboard with a number, which gets influenced by player death...

Then i set up a procedure which sets an NBT tag to the scoreboard, and displays it in chat:

(picture): https://ibb.co/hMXSLk5

Then i set up an overlay which displays the "ENBT:integer:taglives" tag.

When I go in-game the tag displays a different number in chat than in overlay:

(picture): https://ibb.co/1LpBXp4

I set an item that increases the scoreboard number on right click, and it actually increases the tag in the overlay as well!?

(There is no nbt tag in the right click procedure).

I've also tried using a global_session variable,

this actually displays the right number but a different problem occurs:

the number flickers in the overlay between all the players scoreboards scores that have been on the world.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't fully tell what is…
Mon, 07/06/2020 - 02:18

I can't fully tell what is going on. What i know for sure is that they are pulling different numbers make sure both that are being

displayed are the same.

P.S I don't see the item procedure that you made that would help but i'm sure that is why you are having this problem.

IF not i can't really help unless i see the code 1 letter could mess it all up.

BTW Every get Number by default is set to 0 from start.

so you might be pulling a Variable Number that is 1 letter off.