FCBP_PlayerInteraction

Interaction rules of the player. Unlike the NPC interactions, it does not derive from the actor interaction. Passed with .interaction(...) on a player.

Setters

Setter Effect
interactWithPlayerOnly(bool) When true, overlap/interaction only validates against the player. Default false for the player.
interactOnceOnly(bool) When true, the interaction is consumed once, then stops. Default false.

Carries the skill hooks onHitSkill, onLandedSkill, canInteractSkill, onBeginOverlapSkill, onEndOverlapSkill, documented in the Skills section.

Example

FCBP_PlayerInteraction interaction = FCBP_PlayerInteraction()
    .interactWithPlayerOnly(false);