Show input key image (if available)

I’m totally stuck and need your help!
I want to show a little tutorial text that shows the button and the action.

Problem is, that I have no idea how to get it work incase the player changes the controls.
So for the action “Fire” it should show the LeftMouse icon, but how do I show the Q-Icon if the player changes fire to be on Q?
Also: I have images for some keyboard buttons, but not for all. So incase there is no image, it should just write it in text.

Here you see me being lost and having no clue what I’m doing:

Thanks for any help!

Anyone have an idea?

A simple way would be to create a DataTable [(Datatbles)][1] and store your pictures/Text in it.

Then you can easily grab the fitting picture/text for the key you need. Just make sure that you name your datatable rows like the KeyDisplayName.

2 Likes

Thanks. I’ve never heard of them. I’ll see what I can do and come back to you if I run into a problem.

Sure no problem, just ask.