Command to turn overlay off/on?

Started by KhaosKodi on

Topic category: Help with MCreator software

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Command to turn overlay off/on?

Im trying to get an overlay in the bottom right. (and i have done this) BUT, im trying to get a command to turn it on or off such as (/overlayon) and (/overlayoff) OR just like one command to toggle it, someone help please? 

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think that is currently…
Sat, 03/16/2019 - 17:57

I think that is currently impossible.

It is possible. Use a global…
Sun, 03/17/2019 - 11:57

It is possible. Use a global variable (logic type) and set this variable as an overlay condition.

With the command, toggle this variable between true and false.