How to use text input in gui editor?

Started by GamesofFreak on Sun, 04/28/2019 - 20:13

Topic category: Help with MCreator software

Last seen on 18:56, 23. Jun 2022
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to use text input in gui editor?
Sun, 04/28/2019 - 20:13

I want to make an Mod with Text Input with NUM tag but I don't know how it is works. Can someone help?

There is a procedure in GUI…
Mon, 04/29/2019 - 13:53

There is a procedure in GUI section that gets the text value of the text field, you can then use string to number procedure block.

Last seen on 20:10, 4. Jun 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This procedure does not work…
Mon, 05/02/2022 - 15:52

This procedure does not work for me, am I doing something wrong?
When I test it in game, whenever I press the button that calls the action, the text I put does not appear, it stays blank.

Last seen on 11:08, 24. Jun 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I can confirm that the  …
Sun, 05/29/2022 - 11:54

I can confirm that the  "when this GUI opened" doesn't allow the text in the textfield to be added, but GUI open tick does. No amount of waiting ticks before running the procedure works either, I believe this to be a genuine bug. This is my first comment lol, I have run into the same problem and made an account. If I find a way around it, I'll let you know.

Last seen on 11:08, 24. Jun 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
What, the only part of that…
Tue, 05/31/2022 - 03:11

What, the only part of that I see as relevant to this is my comment on wait ticks, the standard wait block is serverside, however I made one for client side use as a large part of my mod is handled client side. I'm simply saying that the guiopen procedure either does not run, or doesn't talk to the GUI. I have found a way around it by using the tick while open procedure printing text into a hidden, empty text box and if textbox isn't empty, the if condition to put the text in the visible box is passed, only running it once