llms.txt: machine-readable documentation index. Markdown version of this page is also available.

Ninja Bear Studio Plugins Help

First Steps: Interact with a Nearby Object

Make a switch print a message when the player faces it and presses Interact. Start with the collision presets and generic assets and a character whose Ability System Component is initialized.

Make the switch

  1. Create a Blueprint based on NinjaInteractionActor_StaticMesh. Give it a visible mesh and set its Interaction Target Component to a copy of SO_Interaction_Generic.

  2. In the Smart Object, give one slot an Execute Interaction configuration in its Gameplay Behavior definition. Choose Interaction.Type.Interact as the Interaction Type Tag, add the same tag to the slot's Runtime Tags, set the display text to Use switch, choose ST_Interaction_Generic, and set Duration to zero.

  3. Add a box around the switch mesh. Enable Generate Overlap Events and use the InteractionTarget collision preset. On the target component, bind On Interaction Finished to print Switch used. Place the switch in the level.

Smart Object definition assigned to the Interaction Target Component

Give the player a scan area and a focus area

  1. Add an Interaction Manager Component to the player pawn. Add a sphere large enough to detect the switch from a few steps away. Set its Component Tags to include Interaction.Component.InteractableScan.

  2. Add a smaller box in front of the pawn, within the sphere. Give it the component tag Interaction.Component.InteractableFocus. Set both shapes to InteractionSource and enable Generate Overlap Events.

  3. Grant InteractionAbility_FindInteractableActor and InteractionAbility_ExecuteInteraction through the pawn's usual ability setup. For this example, keep the find ability's default Find Closest Interaction Target task.

  4. Map a Boolean Enhanced Input action to a key. Give it a Pressed trigger. On Triggered, call Try Initialize Interaction With Current Target on the pawn's manager with Interaction.Type.Interact.

Scan sphere and component tag on the pawn
Smaller focus box in front of the pawn

Try It in Play

Approach the switch and face it. Press once and look for one Switch used message. Press again to confirm the slot was released. Turn away so the switch leaves the focus box and press again. If the first press did nothing, bind On Target Registered and On Focus Applied on the target component to separate print messages. A registration message alone means the scan reached the switch but selection still needs attention.

Next Steps

Time a search in the tree, confirm a switch with a held input, or collect a tagged object without focusing it.

25 November 2026