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.

Here where i call that function.It works fine. But i want to replicate this. I tried this one
255149-
][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. :slight_smile:

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.