I am having an issue with the game I am making. What I am trying to do is spawn a turret for my spaceship and then enable the input on it for the client that owns it.
All the code I have at the moment in inside the pawn that is the base chassis of the ship. The turret and cannon are separate actor that I am attaching to sockets. I am doing this this way because my game will have customization with different turrets and weapons each with different behaviors.
The Blueprints I am using to do this:
I am setting the value of Controller Reference here:
The issue i have is that both the clients on the Dedicated server are controlling the turret on ship 2. I want to know what I have done wrong so I can get past this issue.
Video of issue: