problem displaying global var

Started by mangamaniacs2064 on

Topic category: Help with MCreator software

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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>

 

 

Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

 

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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>

 

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Set your global Variable to…
Sat, 02/20/2021 - 17:08

Set your global Variable to Global Map