How to replicate a function without player character?

I think i managed to get it working (well enough atleast).
I will now detail the steps i took below, because why not.

First i created a new Player Controller BP, set it to replicate, and set it as my main player controller in the world settings.
Inside the player controller, i implemented an interface with one message, that being “Request Replicated Interaction” and has 2 inputs, being the Interactable Component Reference and the Time to Set. Then upon recieving the message it executes the code to be replicated inside a Server event.

Here is the code inside my interactable blueprint.

1 Like