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"

Problems on identifing NetAuthority

Hello,

I started I new clean project on ue4, with c++ support. Them I add a cube, and transformed it to blueprint. Then I added a text component to it.

After that, on the construction script I used the "Switch Has Authority" node and if it's Authority I change the Text Render to "Server", otherwise (Remote) change it to "Client".

When I hit play, with two players, both screen show my pink cube and their text written "Server". I guess this was the same situation as https://answers.unrealengine.com/questions/174440/switch-has-authority-returning-authority-for-clien.html.

Ok, this makes me think that any object place in the editor, after the hit play button, they are spawned on both server and clients, that is why both have the authority over it.

After spending something around 2 hours searching and seeking for an explanation, my question is : How on earth the content example scene "Network_Features" on it's 1.2 example made the same situation actually works, as opposed to my test and probably what happened in the question I referenced ? Is there any special configuration on the actor rather than set the "Net Load on Client" and "Replicates" to true ?

Any help will be very much appreciated.

Product Version: UE 4.7
Tags:
more ▼

asked Oct 05 '15 at 02:49 AM in Blueprint Scripting

avatar image

HSR38
1 2 2

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

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