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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Changing Visibility or Material always replicate no matter what

In my project, I got multiple characters controlled by players. One of them is the host and others are clients. In one of my clients, I execute an event locally. I added a print and I can see this event is only executed on this specific client. In this event I tried changing the material, setting a scalar parameter and setting a component to hidden or change its visibility. No matter what all of those apply on every player instantly. I don't understand beacause this is executed locally on a client, I made the choice to not replicate it so why does it ?

I found a post online about this very problem : https://forums.epicgames.com/unreal-tournament-3/unreal-tournament-3-programming-unrealscript/172748-how-do-i-make-actors-invisible-client-side-only-solved

But couldn't find a simple blueprint solution.

What I want is just put some blueprint code that will make something (an actor, a component, anything) invisible just for him and him only. That way I can make team based feedbacks in my game (ex: Ally player tag visible, minimap icon visible, etc. but can't ennemy because that would be cheating).

I also made a post on reddit : https://www.reddit.com/r/unrealengine/comments/9lmstc/setting_visibility_or_hidden_in_game_locally_on/

Thank you.

Product Version: UE 4.20
Tags:
more ▼

asked Oct 05 '18 at 06:01 PM in Blueprint Scripting

avatar image

Xeal534
1 1 1

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

1 answer: sort voted first

Does it help to make those elements be attached Actors that are owned by a specific player and then use the OwnerNoSee or OnlyOwnerSee checkboxes to control who sees them?

more ▼

answered Nov 22 '18 at 04:10 AM

avatar image

mightyenigma
3.8k 18 20 20

(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