Hey Guy’s (or Girl’s )
i’ve got a question. Let me first describe my Project:
I’m working on a multiplayer project in which I want to synchronize the movement of objects.
I have a random generated array of actor references (each time other actors in diffrent variations).
I would now like to start an event in these objects. That usually works via a “cast to actor”.
Is there a way to program this dynamically without querying 50 cast to connections with branch? (I attached a example)
If not, do I have another option? I currently have a widget that calls an event dispatcher in the player controller.
From the player controller I have a Cast To connection to the GameMode (it ensures that another player cannot move when moving)
The movement is in the actor’s blueprint. There an event is first called that runs on the server and this event calls a multicast event that then performs the movement.
Movement in GameMode
Movement on Actor