a way to make key press combination run procedure?

Started by Not_Viking on

Topic category: Help with modding (Java Edition)

Last seen on 15:28, 26. Aug 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
a way to make key press combination run procedure?

a way to make key press combination run procedure? I would like to make a procedure that run if a combonation of keys r pressed, such as h,g,u for example. ik theres a forum about this already but i dont know what hes saying and what to do

Last seen on 15:28, 26. Aug 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what do u mean?
Sat, 11/13/2021 - 22:42

what do u mean?

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay imagine you want a key…
Sat, 11/13/2021 - 22:46

okay imagine you want a key bind of G + Y

make a variable named Y (Logic Player Lifetime)

when you hit G it sets Y to true, and when you hit Y if Y Variable is true do whatever