x

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"

Possess other playercharacter in multiplayer(NetRole Incorrect)

alt text Hi , I am making a multiplayer game.

in the game . Player can possess others playercharacter.

=================================================================

I use ListenServer . In the case of two people . Is OK.

In the case of three people . Has a problem. NetRole is incorrect.

I have prepared project files and videos. please help me. (。>0<。)

=================================================================

Video: https://www.youtube.com/watch?v=_m9GTpEJjI8

Project: https://drive.google.com/open?id=1qrJN20dsHiy50Cgpol5NLIiEHbCNu9HL

=================================================================

Share my Blueprint alt text

Product Version: UE 4.19
Tags:
possess.png (354.3 kB)
possess2.png (448.0 kB)
more ▼

asked Jul 13 '18 at 06:49 AM in Using UE4

avatar image

FilterGame
26 3 6 8

avatar image Kanteh Jul 13 '18 at 07:19 AM

hey, just overreading this. if u can take over server<->client but not client<->client it might be because of different role or ownership.

a simple idea which might work. before teh client takes it, let the server take it for a tick.

avatar image FilterGame Jul 13 '18 at 07:27 AM

Thank you for your response. You mean not to use Possess , Processing input at tick ?

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

1 answer: sort voted first

Solved the Problem . For people with the same problem.

===================================

Do not use possess to swap playercharacter.

Spawn new character to player.

Can solve network errors.

more ▼

answered Jul 20 '18 at 02:39 AM

avatar image

FilterGame
26 3 6 8

(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