So I have developed a pretty good unit control scheme for my RTS game. I have the playercontroller which takes input from the player and then moves the camera or sends triggers to units. Units have their own AI controller attached to them with behavior trees and everything was working fine. Until I decided it was time to get multiplayer working. Long story short I’ve got stuck. The AI controllers exist only on the server and I cannot send any commands to them from the player controllers. I cannot seem to find a way to solve this in a nice “non-hacky” way.
Does anyone have any ideas on this? I don’t need example code or blueprints, just some thoughts and class structure.
I mostly work in blueprints because I really enjoy it, but I can code in c++ as well if that is necessary (i studied it at university after all -.-).
Thanks.