problem displaying global var

Started by mangamaniacs2064 on Sun, 10/06/2019 - 23:12

Topic category: Help with MCreator's application

Last seen on 14:49, 26. Oct 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
problem displaying global var
Sun, 10/06/2019 - 23:58 (edited)

i made a gui.. i want to display some value: the global variable is test1. its value is set to 9... so i want o display  that value.

 

<VAR:test1>

 

doesnt work i only see:

 

<VAR:test1> as text....

Edited by mangamaniacs2064 on Sun, 10/06/2019 - 23:58
Last seen on 14:49, 26. Oct 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
okay i use a global variable…
Sun, 10/06/2019 - 23:40

okay i use a global variable session... but in a text field here what i tried :

 

<VAR:test1>

 

doesnt work i only see <VAR:test1>

 

 

Last seen on 15:03, 9. Nov 2019
Joined Apr 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
if you want to display it in…
Sun, 10/06/2019 - 23:58

if you want to display it in chat than use get value of provided nbt tag procedure block

 

Last seen on 14:49, 26. Oct 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
thanks i already know how to…
Mon, 10/07/2019 - 00:12

thanks i already know how to do that.. i want to diplsay it in the gui.

 

for example

a globalvariable named energy si set value to 0.

 

so i want to see in gui: energy:0

Last seen on 14:49, 26. Oct 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
okay i got it working in the…
Mon, 10/07/2019 - 00:21

okay i got it working in the GUI:

 

i used <VAR:test1>