Started by
ThatBlueMango
on
Topic category: Help with Minecraft modding (Java Edition)
Ive search the corners of the internet and have found no solution. This is my last attempt before I admit defeat. Is there any way to trigger an overlay with a keybind? MCreator 2022.3 1.18.2 Forge 40.1.0
Create a Player_Persistant Logic Variable and give it the name you want (Make sure the initial Value is False):![1](https://i.imgur.com/3GBicMT.png)
Then, Create a keybind, and create a: On key pressed Procedure, do this:
![2](https://i.imgur.com/SmxDuoB.png)
then, create another procedure(i called it ReturnShow):
![3](https://i.imgur.com/jpXIorp.png)
finally: go on your overlay, and set this as your Return Procedure as your display condition:
![4](https://i.imgur.com/JYhSARK.png)
I cant seem to find the Get or Set Global ShowOverlay becauseIm dumb, in what section is it?
It appears I had just forgotten to close and reopen the procedure thank you for all the help
No problem
it doesn't work for me, where should i put the second procedure? i created the mod in 2023.1 and i folowed step by step your tutorial
What did not work for you? Just_Call_Me_Tonx