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"

Binding event to level blueprint doesn't work for clients

Sup. So I've got a multi player game with guys running around. They can enable a Post Process Volume to see through walls (Tom Looman's materials - objects are rendered with a custom depth for it to work) but to disable the effect I disable the post process volume. The only way I can do it is through trying to bind the event through a dispatcher like the ue4 document says to do because it's a level blueprint and can't access it any other way. The problem is it works fine for the server but doesn't even fire for the client. I've tried replicating it (which I shouldn't have to because it's not really important for the server to control it) but still doesn't work. Is there a way to do it other than this? Like disabling custom depth during play or something?

I can enable or disable the Post Process Volume on Event Begin Play in the Level blueprint which works for everyone, but the binding and calling doesn't work for clients.

Product Version: UE 4.8
Tags:
more ▼

asked Jul 28 '15 at 06:09 AM in Blueprint Scripting

avatar image

ScruffyHollywood
18 7 7 13

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

1 answer: sort voted first

OK so I can't figure out why Clients can't Bind/Assign events, but I figured a way around to the effect I wanted. Set the character to a variable for the Player Controller, and set Render Custom Depth (target is the Primitive Component of the Character, the root of the Character Pawn, had to figure that one out...) to whether the Character is able to see through walls.

alt text

alt text

more ▼

answered Jul 29 '15 at 09:01 PM

avatar image

ScruffyHollywood
18 7 7 13

avatar image ScruffyHollywood Jul 29 '15 at 10:58 PM

Actually this still isn't right, as the player can still see themselves.

(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