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"

Multiplayer Problem - MyPlayerController blueprint only works for player1

Help needed,

I have been coming across a few issues with the second player that spawns in my multiplayer game. It appears that this player isn't executing the MyPlayerController blueprint... It may have something to do with the 'get player controller' process in said blueprint.

I've done checks and it seems to dropout at 'Cast to MyGameMode' in Setup Ui, Spawn Player as I incur the custom error message every time I try running multiplayer.

Setup UI, Spawn Player (MyPlayerController BluePrint)alt

If it's useful, here are images 1 & 2 of the MyGameMode blueprint post-login processes

Thanks in advance :)

Product Version: UE 4.10
Tags:
more ▼

asked Feb 02 '16 at 01:10 AM in Blueprint Scripting

avatar image

joshblaaa
58 3 1 5

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

2 answers: sort voted first

Thanks to PenguinTD and his wiki guide I actually managed to resolve this https://wiki.unrealengine.com/Blueprint_Multiplayer_Respawn

more ▼

answered Feb 03 '16 at 12:11 AM

avatar image

joshblaaa
58 3 1 5

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

Game modes and Player controllers are not replicated in multiplayer games. (game states and player states are). so your game mode cast will always fail on any player beyond the first.

more ▼

answered Feb 02 '16 at 02:21 PM

avatar image

paradoc
1.2k 49 31 87

avatar image joshblaaa Feb 03 '16 at 12:10 AM

Thanks for your comment

(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