Possess dont work on client

I am making a multiplayer game and now trying to possess a character. If I run the code from the server it works fine. But if I run it from the client it work fine except for the possess-node. Instead of possessing the new character it seems like the camera freezes.

Here is a image that runs from the character that wants to possess: http://i.imgur.com/PwDwE5J.png

And here is a image from my gamemode, called Deathmath that is suppose to handle the possesion: http://i.imgur.com/zNAtDeu.png

I have tested in the editor and on both server and client it will create a human actor and destroy the old character.

Any help is appreciated, thanks.

Update: I found that if you add a delay between the spawning of the actor and the possessing it works! The delay doesnt even have to be long, I have i set to 0.001 and it still works.

Posted Nov 24, 2014, 11:38 AM UTC · edited

212
Loading comments…