I am new to multiplayer and i’m trying to destroy a replicated actor, but i can’t figure out how to do it.
Can someone help me?
In multiplayer games if you wanna do networked operations like destroy a replicated actor, you need to do this on server.
Server is the king he have rights to modify everything he is authorative.
If server doing operations and for example actor is replicated change will have effect on clients…
To destroy replicated actor you need do this with auth.
You cen check auth with this for example: https://docs.unrealengine.com/latest/INT/BlueprintAPI/Networking/HasAuthority/index.html
If you have auth just destroy and you are done in most case
If not you need use Remote Call from Client to Server. (RPCs)
I recommend to read Cedrics network compedium: Free Network Compendium | Gets you started with Multiplayer! | Current Version: 1.5.0 - Community Content, Tools and Tutorials - Unreal Engine Forums
And watch Epics networking tutorials on their youtube channel