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"

Client destroy actor?

Is it not possible for clients to destroy actors? I have some randomization in my levels where I want to destroy some actors, this works for the server but when the client is trying to destroy an actor nothing happens. Is there something I'm missing/is there a workaround? I don't want to have to send a ton network traffic just to set up the level.

Product Version: UE 4.10
Tags:
more ▼

asked Nov 15 '15 at 03:04 AM in Blueprint Scripting

avatar image

CaretCaret
6 3 6 6

avatar image Kokuyouseki Dec 11 '16 at 02:52 PM

Currently I'm doing an infinite world game where the players can be quite far - so I'm trying to Not replicate actors but instead have dummy actors on the client that act as the other player when they are close but otherwise everyone has their own objects and actors. Sadly UE4 appears to not like me too much so far as Clients cannot destroy actors themselves and when I add a pawn, I cannot Not add it to every client too, as only the server is allowed to issue possession order, thus I have to add them to the server first. I wanted to do the possession and then remove their originals from the clients/server but obviously if such an order is issued on clients, nothing happens, while server deletes it from everyone not just itself.

In short I would be interested as well.

EDIT:

I realized that I was wrong. Clients can destroy actors. The reason why I couldn't destroy said actors was because it was the server creating them. You can only destroy your own stuff. Which is sort of logical. Now if only I could make a client possess a pawn it created...

(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