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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

How do you move an actor as a client?

I want to move an actor, which is an instanced blueprint. Moving actors around in the server window works, the object's location gets correctly shown in the server window and the client window. I am unable to get it to work in from a client. What am I doing wrong?

These are the relevant blueprint parts: Pickup&Move

OnRepNewLocation

Product Version: Not Selected
Tags:
pickup&move.png (417.1 kB)
more ▼

asked Jun 30 '14 at 02:43 PM in Blueprint Scripting

avatar image

Musashi Ryu
26 2 3 5

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Post a screen shot of the "defaults" setting of your blueprint. Is "Replicates" checked?

more ▼

answered Jun 30 '14 at 03:37 PM

avatar image

jwatte
1.3k 48 41 88

avatar image Musashi Ryu Jul 22 '14 at 08:10 AM

Sorry, I haven't been on for a while. Yes, "Replicates" is checked.

avatar image Wobbleyheadedbob Jul 29 '14 at 10:28 PM

What is executing the Enter node on your gate?

avatar image Musashi Ryu Jul 30 '14 at 10:08 AM

If you go back all the way to it's origin it would be an Event Tick. Does it have to do with the fact that the client doesn't have authority?

avatar image Wobbleyheadedbob Sep 12 '14 at 10:51 AM

Is the Event Tick going through a Switch Has Authority as well? (PS: Sorry for the super-delayed response)

avatar image Musashi Ryu Sep 12 '14 at 11:18 AM

No, the Event Tick doesn't have a Switch Has Authority, should it have one?

avatar image Wobbleyheadedbob Sep 12 '14 at 11:35 AM

Yep, I had a similar graph where forces were being triggered by an Event Tick on the actor. None of the client pawns were reacting until I ran the event tick through a Switch Has Authority.

My guess is that for a replicated actor, by default the Event Tick will be handled by the owner. In the case of your example, the actor is a pawn currently owned by the player so the Event Tick is by default being handled by the client. Adding the switch allows you to specify server behaviours that occur on the Event Tick which is what I believe you need.

avatar image skeleton60 Sep 16 '14 at 03:34 PM

what? is that true? what sort of magic is this :o

avatar image Musashi Ryu Sep 29 '14 at 08:19 AM

Sadly, this is not the solution for me, thanks for the suggestion though.

(comments are locked)
10|2000 characters needed characters left
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