Global Variables in Label Overlay

Started by 0uA1S on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Global Variables in Label Overlay

So I would like to have the label display the value of my variable in my overlay.

 

I tried multiple things like putting the label text as "<:myVar:>" or "{myVar}" but nothing worked.

The result is my overlay displaying the text I've written and not the actual value of my variable.

I noticed that when creating my Label the type can only be "Fixed" there is no dynamic type or anything else.

What did I do wrong and how can I make this work ?

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a procedure returning…
Thu, 04/13/2023 - 00:39

Make a procedure returning your variable. Then, select it in the dropdown list (where "Fixed" is). Fixed is to write a specific text.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It works perfectly thank you
Thu, 04/13/2023 - 13:24

It works perfectly thank you

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you make a screenshot…
Tue, 08/22/2023 - 10:39

Can you make a screenshot pls?