I’m not sure if anyone will see this, kind of confused because my last few posts didn’t receive any feedback. But here’s hoping this one catches someone’s interest. I’ve got way too much spaghetti code to give any visuals at the moment so lets just keep this as a theoretical conversation for the time.
Right now I’m working on a project that has multiple characters that have different abilities, which need to be replicated since it is working towards being an online multiplayer project. One of the characters has the ability to spawn a sentry turret and then after it spawns a second ability can then be used to move the turret where ever the player character is looking via a line trace hit. As of right now the turret can spawn and attack dummy targets and the other client character fine, the move turret ability is the problem at the moment. It moves fine and replicates fine, but since both the clients are playing the same character they can both tell the turret to move. Let’s say they both spawn their own turrets, which ever turret was last spawned is the turret that moves.
So, how might one go about making it to where which ever client spawns their turret then that turret is completely bound to the player controller that spawned it and only moves when the ability is called from the owning player controller? Thank you for taking the time to read this and I hope to hear back from someone.