Overlay when key pressed [SOLVED]

Started by Namu3l on Wed, 04/08/2020 - 13:51

Topic category: Help with modding

Last seen on 19:19, 11. May 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 00:46, 10. May 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:19, 11. May 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:19, 11. May 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 :)