Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Character-Actor is not moving on Clientside

Hi there, i'm new on UE4 and started a small Test Project where the Player can select a Character and then move him with double-click to a Location. This works fine on Serverside but on Clientside the Char doesn't do anything. This is how i setup the movement of the Char alt text

And this is how i call the "Move" Event and track the double-click alt text

I also tried to run the movement only on server but same result. Any idea on this problem? Thanks.

Product Version: Not Selected
more ▼

asked Aug 31 '14 at 02:56 PM in Blueprint Scripting

avatar image

25 4 8 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Check if your Character is Movement Replicates. If you move him on Server side, he should move on client side also.

And for the control from client side, you need to Set Owner of character you select to your player controller, then you can call move from client side, if not you need to tell server to move that character for you.

more ▼

answered Sep 01 '14 at 01:42 AM

avatar image

Duncan Dam
3.1k 121 50 164

avatar image ljms Sep 01 '14 at 07:38 AM

I get the same problem when i tell the server to move the Unit for me. For the server movement i changed the Movement Script like so

alt text

Replicates is already checked and i can see the movement on client side but i cant trigger the movement on client side

avatar image Duncan Dam Sep 01 '14 at 08:09 AM

Do you call this one on character ? If you call on the character, that character need to be own by Client. For Default only Player Controller and whatever it posses is own by client. And only thing own by client can replicate function to server. So you must Set Owner of that Character to your any pawn that Player Controller currently posses.

avatar image ljms Sep 01 '14 at 08:36 AM

How can i change the owner of an character in blueprint? I cant find any node for that.

avatar image Duncan Dam Sep 01 '14 at 10:01 AM

seem like u can only set that in c++.

Then i think you need to call server side move function within the player controller blueprint or the pawn it control.

avatar image ljms Sep 01 '14 at 10:05 AM

Thanks for the help. i moved the "Simple move to Location" to the PlayerController and execute it as server, like you said.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question