Add a key-value memory brick for UE4 where a variable named “map” stores key and value together. In the editor the brick has 3 inputs:
1 - key
2 - value
3 - write signal
When the player changes the key input, the brick sends the value from this key to the exit. The write signal sets the value of a specific key.
