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"

Running logic on one client only, instead of on all clients

I have setup the beginnings of a MMO and I'm currently working on the show/hide of a text render in UMG if the user gets near an object. ('press F to talk' or 'press f to cut down tree' for example) This happens in a widget that is spawned when the user logs in.

I have added a Switch has Authority right after the event (which is set to No Replication), but my problem is that this replicates to every client, probably because they are in the same session..

MyCharacter blueprint: alt text What happens ingame: alt text

This is a major problem because I obviously don't want a player miles away from me to get a 'Press F to talk' when I go up to a NPC.

So how do I run logic on just one client instead of on all of them?

Extra information This is a blueprint project, players all join the same session when logging in.

Product Version: Not Selected
temp3.png (106.5 kB)
temp4.png (1.3 MB)
more ▼

asked May 06 '15 at 12:28 PM in Blueprint Scripting

avatar image

108 8 9 15

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

1 answer: sort voted first

I don't know if you still need help but nevertheless...

My guess is that "switch has authority" has no use in this case. Because this macro only checks if we are a server or not. I think setting the event to "run on owning client" would be a way to tackle this...

more ▼

answered Jun 24 '15 at 01:06 AM

avatar image

426 38 47 143

(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