Download

Replicating AIController

So, I’m trying to have each player control a character that supports MoveToLocation (see my previous thread: https://forums.unrealengine.com/showthread.php?62382-MoveToLocation-with-PlayerController)

To accomplish this, I did something similar to what was suggested in my previous thread. I created an AIController as proxy. So my PlayerController has an AIController instance variable that possesses the character.

The problem I’m encountering is getting this AIController or Character information to the client. The server creates the character and the AIController and links them up, but on the client the PlayerController doesn’t have a reference to either the AIController or the Character.

My first approach was to replicate the AIController, but whatever I did, the AIController variable kept being null on the client, and now I’m not sure what to do.

Any ideas?