FCBP_PawnInteraction

Interaction rules of a pawn. Extends FCBP_ActorInteraction, adding a hit hook. Passed with .interaction(...) on a pawn.

Setters

Setter Effect
interactWithPlayerOnly(bool) When true, overlap/interaction only validates against the player (no NPC↔NPC). Default true.
interactOnceOnly(bool) When true, the entity is consumed once (broadcasts onConsumed, then stops). Default false.

Adds the skill hook onHitSkill (plus the ones inherited from the actor interaction), documented in the Skills section.

Example

FCBP_PawnInteraction interaction = FCBP_PawnInteraction()
    .interactWithPlayerOnly(true);