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"

Static Camera example in multiplayer

I would like to use a static camera as described there: https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UsingCameras/Blueprints/index.html but this example only seems to work with a single player.

If I set the number of clients to "2", the second client gets the default dynamic camera. The same happens for additional clients.

At first sight, it seems strange to use player index 0 only for the Get Player Controller call (in the upper example), but this should be the correct index even for the remote clients. I should note that the camera is correct on all clients for maybe half a second after starting, but then turns to the player. So maybe the server replicates the view target.

Could anyone tell me how to properly set up a static camera in a multiplayer environment (using Blueprints)?

Product Version: UE 4.10
Tags:
more ▼

asked Mar 27 '16 at 07:25 PM in Blueprint Scripting

avatar image

lotodore
201 9 16 22

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I finally managed to do this, according to the hint in this question: https://answers.unrealengine.com/questions/256391/problem-with-multiplayer-player-controller-event-i.html

I created a Blueprint Subclass of PlayerController, made sure it is used (in GameMode) and simply deactivated the setting "Auto Manage Active Camera Target". The default behaviour seems a bit strange, though...

more ▼

answered Mar 27 '16 at 10:09 PM

avatar image

lotodore
201 9 16 22

(comments are locked)
10|2000 characters needed characters left
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