[SOLVED] How to constantly check checkboxes in GUI?

Started by gewRtC on

Topic category: Help with modding (Java Edition)

Last seen on 15:10, 26. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] How to constantly check checkboxes in GUI?
Sun, 06/23/2024 - 15:12 (edited)

I tried to create a procedure "on player tick", that would check if certain checkboxes are flagged in gui, and if so, logic will change.

e.g. "is GUI exampleGUI currently opened for Event/target entity" -> "do is example checkbox checked" -> "do set logic firstcheckbox true" -> "else set logic firstcheckbox false"

But it doesn't work, because i don't have the guistate, which is a dependency.

 

Is there any way to replace this check or make it work? Thanks in advance

Edited by gewRtC on Sun, 06/23/2024 - 15:12
Last seen on 15:10, 26. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
solved: gui procedure…
Sun, 06/23/2024 - 15:12

solved: gui procedure triggers