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

Ninja Bear Studio Plugins Help

Animate an Interaction

Make a character reach for a lever and use it when their hand touches the handle. Start with a working immediate interaction and a montage compatible with the character's animation Blueprint.

Play a montage from the interaction tree

  1. Grant InteractionAbility_PlayAnimation to the source. Copy the supplied ST_Interaction_Animation and assign the copy to the lever's slot.

  2. If the character needs to line up, place the slot transform at the desired standing position. Use Reach Target for a short adjustment before playing the montage.

  3. Use the Play Animation task with Override Animation Montage enabled and select the montage. The task sends an animation request. To use the lever at hand contact, place the Commit Interaction animation notify on that frame and transition on Interaction.Event.CommitInteraction to the state that runs Trigger Target Behavior. Route Interaction.Event.AnimationInterrupted before contact to failure.

Play Animation task with a montage override

Choose a Montage by Slot

For levers at different heights, add a runtime tag to each slot, such as a project tag for a low handle. Create a Generic Chooser with Animation Montage as the result class. Add NinjaInteractionAnimationCriteria as an input class parameter. Choose rows by Interaction Tags, Slot Tags, or Ability Tags, and give each row a montage. Assign the table as Animation Chooser Table on your play-animation ability and turn off the task's montage override.

Animation montage Chooser using interaction criteria

Override GetPlayRate or GetSectionName to adjust playback per interaction. For additional sound or effects, extend HandleMontageStarted, HandleMontageFinished, or HandleMontageInterrupted and call the parent implementation so the tree still receives animation events. Use Interaction Effect Class on the ability for tags or cues that last while the montage plays.

Try It in Play

Use the lever and watch the moment its state changes. Interrupt the character before contact. The lever should stay put, and a second character should be able to use it. If it moves as soon as the montage begins, check that the trigger state waits for the commit event.

25 November 2026