Steps i performed:
- Go to Edit > Project Settings > Engine > Input
- Add Action Mappings > “Interact” and bind to keyboard “E”
- in the blue print create a new node “Interact” and linked with print string “Hello 1”
- create a new BP actor and added same node with string “Hello 2”.
when the game plays: i press E and only prints “Hello 1”. The event seems to be associated with only one actor, and I can’t figure out how to make it work for multiple actors. Has anyone else run into this issue, and if so, how did you solve it? I’ve tried using a Switch statement and interfaces, but I’m still having trouble. Any advice would be greatly appreciated!