Show a GUI only one time

Started by Atten007 on

Topic category: Help with modding (Java Edition)

Last seen on 15:24, 26. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Show a GUI only one time

Hello folks,

I have my own Pokemon Mod named "Craftelmon" for Forge 1.19.2, which is currently in version 0.1. I have the following problem in this mod: Every time, when I'm joining the world, the GUI where you can select your starter Pokemon will be shown. But I don't want it every time, I want it only one time. How can I do this with MCreator's integrated procedure system? Or is this currently not possible?

Sincerely yours,

Atten007

Last seen on 15:24, 26. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want, that the starter…
Sun, 02/19/2023 - 19:23

I want, that the starter selection Pokemon GUI will only be shown, when the player joins a world for the first time and not every time, when the player joins the world.

Last seen on 16:22, 26. Apr 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
After you select the pokemon…
Sun, 02/19/2023 - 21:46

After you select the pokemon you could set a player persistent variable to 1, and when it is 1 the gui wont open. 

Something like this:

Just replace the "message" with your procedure.

Last seen on 15:24, 26. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, I'll do this tomorrow! :D
Sun, 02/19/2023 - 21:48

Ok, I'll do this tomorrow! :D