UE4 Custom event


Hello dear programmers :smiley:
I am learning about UE4 and custom events. And I’m wondering if there is any way to create a function similiar like this one in picture? Because I need it for the multiplayer purposes so everything is synced (ex. 1 player kicks the ball but it doesnt move on the server side, when i kick it from server side it moves on both screens)
explanation of unsync

edit: this is normal add impulse on the soccer ball blueprint function

Right Mouse Event → Custom Event
Press → Same Custom Event
Custom Event → branch

Event Qfuncion2 - where did you get that one from? And how do I get another parameter on Entro
edit : added picture

It ends up in loop as soon as i press RMB
image

Yeah it loops, you have it when you press RMB it does the “Press” on server the The server is hitting “Press” on Server Over and Over again “Press” should be doing something else, not Calling itself. its more like RMB Calls “Press” then the actual event “Press” runs the code you want.