Download

RTS client Movement Issue

I am trying to move an actor that is created in-game from the client. The actor is created with replication and the spawning is done on the server. This is the blueprint for movement:
961693ccad087d8fd477249e4975445f4c8e1c1a.jpeg

The setTargetLocation event is being called to start the movement, after some manipulations on the target location I am checking if the player is server or client. If it is a client I am calling the initiateMovementonServer event. The problem is the event is not getting called from the client. In the tooltip of the event it is written that the event replicates to the server if owning client. But in my case the actor is being created in-game, so the server will be the owner.

How do I notify the server then to move the unit from client?