Hi! I’m creating a splitscreen shooter and have an actor that serves as a weapon pickup. When near it, a player can press a button to swap their current weapon for a new one. Problem is, it only does it for player 1 (controller ID 0). I’ve narrowed my problem down to it just not responding to other players through some testing, but I thought the setup I had made would rectify this, so now I’m a little lost on how to fix it. When enabling “Auto Recieve Input” to another player, that will work for player 1 and just the other player selected, so it doesn’t help when I’m playing with 3 or more players.
It might be better to use an interface for this. Once the player steps inside the pickup trigger, set a reference to the pickup on the player pawn and one for the player on the pickup. Then when you press a button, an interface message will be sent from that player to the weapon and he’ll be able to pick it up.
Either that or you can enable input depending on the player’s controller ID.
Thank you! This led me to fixing it, I took the interface example and went from there.