Inputs for multiple characters

Hi,

I am creating an RTS game and each unit spawned during runtime is a character deriving from a Character BP. And here appeared a problem that I have not managed to resolve yet. How to disable/enable inputs for certain characters at runtime?
The disable/enable input node does nothing in the event graph as a character doesn’t even have a property of input disabling/enabling.

usually in an RTS, all playable characters are AI controlled, and you just place destination waypoints and give commands that change their state. if you want to directly control a character, you posses it, but that does not work for multiple characters.

Yes, the general navigation will be AI controlled, but I meant the input for another events. For example the LeftMouseClick should deselect a character if the mouse cursor is not hovering over it, but the LeftMouseClick event does not fire as the input is not received. Or maybe selecting a group of characters and pressing certain keys on the keyboard would make them change their spatial arrangement to improve gameplay tactics.
I was also thinking of a rather quirky solution to that. I could create an invisible Actor BP, which instance would be placed somewhere in the scene and it would handle all the input input and distribute it to corresponding Characters. This should work, but might become problematic when the game becomes more complicated and multiplayer gets implemented.

your player controller or HUD can handle the input events and update arrays of selected pawns, and your possessed pawn can be a default pawn that handles the camera work.