How do I make variables show in GUI text?

Started by Yayex on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 week ago
Joined Nov 2022
Points:
268

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
How do I make variables show in GUI text?

I'm creating this forum topic because I don't know how to make variables show in the text of a gui/overlay. If someone can help me with this, I will be very happy.

Active 10 months ago
Joined May 2023
Points:
288

User statistics:

  • Modifications: 3
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 107
you have to make a variable,…
Wed, 08/09/2023 - 20:53

you have to make a variable, of string type, then you make a procedure with a string type return block, in the return block you have your variable, then go in your GUI, make a new text (or edit an existing one) and then change the Fixed value to the procedure name you have added. Hope that helps

Active 1 week ago
Joined Nov 2022
Points:
268

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
Thank you! I will try this…
Sun, 11/05/2023 - 01:21

Thank you! I will try this technique right away!

Active 1 week ago
Joined Nov 2022
Points:
268

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
IT WORKED! THANK YOU SO MUCH…
Sun, 11/05/2023 - 12:59

IT WORKED! THANK YOU SO MUCH! :D

Active 1 week ago
Joined Nov 2022
Points:
268

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
Now I know how to use the …
Wed, 11/08/2023 - 12:40

Now I know how to use the "Return" function! :D