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 BeginPlay event don't work as it have to.

I have a problem with the event Begin Play for a multiplayer project. When the server opens a map, the event BeginPlay is activated and the instructions are applied to the client even if the node "Swicth Has authority" continues on Authority. I wish the instructions were applied only to the server but apparently there is something wrong.

alt text

Product Version: Not Selected
issue.jpg (249.9 kB)
more ▼

asked Mar 01 '15 at 08:19 PM in Blueprint Scripting

avatar image

696 23 13 28

avatar image Enlo May 12 '15 at 11:10 AM

I think the level is instantiated on each machine, so the local player IS the owner. In my limited experience, GameMode is a good place for server-only code (it exists only on the server).

avatar image Iohoilpotere May 12 '15 at 11:35 AM

Tank You for your answer. I've solved putting a pawn in gamemode Bp and giving code to it but I can also try your way (that sound better than mine).

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

0 answers: sort voted first
Be the first one to answer this question
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