Overlay when key pressed [SOLVED]

Started by Namu3l on

Topic category: Help with modding (Java Edition)

Last seen on 19:10, 19. Jun 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Overlay when key pressed [SOLVED]
Fri, 04/10/2020 - 13:54 (edited)

Hi,

Is there anyway to display an overlay when I hold down a key and it will disappear when I release the key? thanks.

Edited by Namu3l on Fri, 04/10/2020 - 13:54
Last seen on 18:46, 2. Jan 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want to do the same thing …
Wed, 04/08/2020 - 16:24

I want to do the same thing (sort of).  I want to make a gun but have the to slide back then forward again like an actual gun.

Use global variable, toggle…
Wed, 04/08/2020 - 18:39

Use global variable, toggle this variable on key press and use this variable as overlay display condition.

Last seen on 19:10, 19. Jun 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you explain this a…
Thu, 04/09/2020 - 00:24

Could you explain this a little more or give me an example? I am starting to make more elaborate mods. Thank you!

Last seen on 19:10, 19. Jun 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok. It works! thanks!! It…
Fri, 04/10/2020 - 13:53

Ok. It works! thanks!! It has been easier than I thought.

Ok. It works! thanks!! It…
Fri, 04/10/2020 - 18:44

Ok. It works! thanks!! It has been easier than I thought.

Great to hear this :)

Last seen on 18:23, 11. Nov 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello me I ahve a probleme…
Wed, 11/04/2020 - 16:28

Hello me I ahve a probleme with overlay procedure can you check my topic please and help me I don't understand why it not work maybe a problem in the mcreator.

Last seen on 17:00, 5. Jan 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
imagine necroposting
Tue, 11/09/2021 - 18:16

imagine necroposting