How to use interaction events in multiplayer

In this tutorial we will create a new interface and use it to interact with something, in this case it will be a vehicle.

1. Create a new Blueprint Interface

2. Add a new Input variable into it (Replicated Player Controller)

3. Open the replicated player controller and find the existing interaction logic, by default it uses a custom event from itself (to open the buy weapon example), but it can be retrofitted to support generic events too, at the end of it just add the new logic

That’s it!

Any actor that uses that interface can now do something with it when interacted with

For demo purposes, you can duplicate one of the vehicles, add the interface to it, delete most of it’s existing logic (leave WASD and health logic), but recreate the enter/exit vehicle logic to use that new interface and replicated player controller