Player Interactions
Last updated
Last updated
Support for Interactions will be ending soon. This system will remain usable for a while but MSquared advises that you implement your own system to avoid any disruption once support ends.
In order to use the player interactions, the following live config settings will need to be enabled: - Interaction.UseNewInteractionSystem - Interaction.EnableP2PInteractions
With the appropriate live config settings, BP_M2_PlayerCharacterBase
will create a BP_P2PInteractableComponent
and subscribe to its OnButtonOptionRequested
event in UpdateP2PInteractable.
To process option selection on your character, override the OnP2PButtonOptionRequested
event; making sure to call the parent event.