FCBP_ActorInteraction

Interaction and overlap rules of an actor. Passed with .interaction(...).

Setters

Setter Effect
interactWithPlayerOnly(bool) When true, an overlap/interaction is only validated when the other party is the player (no NPC↔NPC). Default true.
interactOnceOnly(bool) When true, the actor is “consumed” a single time (chest, door): after the first interaction it broadcasts onConsumed and stops reacting. Default false.

Example

.interaction(FCBP_ActorInteraction()
    .interactWithPlayerOnly(true)
    .interactOnceOnly(true))