##this method may only be applicable in 4.15
#If your end result is to look like this:
Where the text displays the key to use…
#How do?
You only need two nodes to retrieve the key.
##To get the “text”:
- The ACTION EVENT node (Project Settings → Input)
- “Key Get Display Name”.
- You can now put the output of Key Get Display Name into strings or UMG texts~!
Please be aware that this will return the key undecorated (not surrounded with brackets).
##To decorate the text:
- Create an Append node, create three inputs.
- Put the output of Key Get Display Name into input 2.
- In input 1 and 3, put whatever decoration or pre/affix text you wish.
In my example, “[” is in input 1, and "] " is in input 3.