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"

Function Replication

Hello, I have a function called Add Item. That has inputs and outputs. This works for adding item to index. I have a problem to replicate this.alt text

Here where i call that function.It works fine. But i want to replicate this. I tried this one![alt text][2]

And This one is not working Even at server side. What is the problem i couldn't find. I think its about that this add item is function.And how can i replicate functions i don't know. Can someone pelase help me thanks you. :)

Product Version: UE 4.20
Tags:
additem.png (69.9 kB)
additemrep.png (172.4 kB)
more ▼

asked Sep 30 '18 at 05:15 PM in Blueprint Scripting

avatar image

sevanberkay
22 4 3 8

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

1 answer: sort voted first

You can replicate events by creating a custom event and setting it to replicate and then choosing which machine it runs on (server, owner's client, or multicast)

To run on server the target must be a playercontroller or other connection owning class. To run on a specific client it must likewise use a specific player controller as target. Multicast is to the server AND all clients and works best from a gamestate.

Within the event you can run your function and it will happen on that machine. Events can pass parameters along just like functions can.

more ▼

answered Nov 23 '18 at 07:54 AM

avatar image

mightyenigma
3.6k 16 17 13

(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