Deny Interactions

If you select in your interactable actor the AC_MakeInteractable component you can set in its Details tab under Interacting bDenyInteraction to true if you want to reject the interaction. It would still be possible to focus the interactable but if you interact the server will execute this event InteractionDeniedServer. If you have still selected AC_MakeInteractable scroll down to the bottom where you can add the event InteractionDeniedServer. You can use it to trigger something else either in the actor or use the passed PC value to trigger something specifically for the player. Since this event is called on the server and if you want to trigger something on the player, you might wanna execute an event that is set to run on owning client and that you need to create in your player controller or AC_PC_Interaction.

Optionally, instead of making single interactables denying interactions you can also make all interactions to be denied for a specific player. There are two variables in AC_PC_Interaction: bDenyAllInteractionsServer and bDenyFoliageInteractionServer. They are only relevant for the server and an information for the server if this specific player is allowed to interact. You only should set these variables in the server. In AC_PC_Interaction there are two events to that SetDenyAllInteractionsOnServer and SetDenyFoliageInteractionsOnServer.