Hi, so I’m having an issue where my player character is not responding to input when it’s being enabled. The problem occurs within my AI character’s blueprint. I want my character to give the other character an item when the player is nearby and presses ‘E’. So once the player is near, I enabled input and attached a ‘get player controller’ node to the enable input. Then when I press the interact button, nothing happens and the interact event doesn’t fire.
Enable input only works for non-pawn classes iirc. Pawn and below requires possess.
An alternative here is to let the Character use some Interface to communicate with the recieving AI, notifying it of the attempted interaction, and possibly the item in hand.
This would also require you track the currently overlapping actor (the target ai) and use that as the reciever for the interface message