Making a Particle effect show Server side using MultiUse(Radial) menu

So this is my graph script:

BPTryMultiUse:

BPGetMultiUse:

The problem i’m having with this is i can’t get it to work server side it work only client side/Single player

Maybe someone can help me out ask a few of my Modding buddies and they said the code is right but they arent sure why its not showing up Server side

All help is appreciated.

You need to put the the visibility toggle in a multicasted event and call that from try multiuse.

any chance u can show me an example of what u mean been 2 days looking at this code and im stuck

Right click in the graph and create a new custom event. Click the custom event node and set “Replicates” to “Multicast” in the details panel to the left. Move your “Toggle Visibility” node into that new event and call that event in the try multiuse where you have the “Toggle Visibility” node in the screenshot.

I would really recommend watching the network tutorial series on epics youtube channel to actually understand what you are doing (especially the “function replication” part is relevant here but better all of it) since it is pretty crucial to know when making mods for ark that involve anything in the graph :smiley:

It’s a bit of a complicated topic and will take some time to understand but once you got it, it will keep you from a lot of errors that can happen due to replication.

Thanks i actually had that done already but dummy me didnt call the function in the try use graph stupid error on my part

thanks for the videos they help!

Just one addition because i think there might be problems with just the multicast in this case:
I would make a saved and replicated bool variable to keep track of the current on/off state of the particle system. Set that variable on the server(in try multiuse). Then on event begin play do a check on that variable and set the visibility accordingly.
Why do we need that?
1)On server restart the server won’t know about the visibility that was set before anymore. So if it was turned on when the server was shut down it will be off again after the restart.
2)If a client is out of replication range, the multicast won’t fire for it, so it won’t ever know if the particle effect was turned on or not if he comes into range later.

But in both cases begin play gets fired(when the server starts and when the client gets in replication range) so you can just do a check on our saved status and turn the visbility on/off from there.