Build a Branching Combo
Give one opening swing two possible follow-ups. A second light press continues the chain, a heavy press branches, and waiting ends the combo. Start with a working melee ability.
Prepare the three moves
Make opening, light follow-up, and heavy follow-up versions of your attack ability. Give each a different identifying ability tag and montage. Put a Combo Window notify state late in the opening montage. Leave the two final montages without a follow-up window.
Add
NinjaCombatComboManagerComponentto the character. ImplementGetComboManagerComponenton the Combat System Interface and return that component.
Wire the choice in the Combo Tree
Create a State Tree with the Combat Combo schema. Add the Combo State evaluator and bind its state to the context. Add an opening state with the Activate Combo Ability task. Bind the Combo Manager and supply the opening move's ability tag.
Create two sibling follow-up states with the same task and their respective ability tags. On the opening state, add an event transition for
Combat.Event.Combo.Attack.Primaryto the light follow-up and another forCombat.Event.Combo.Attack.Secondaryto the heavy one. Add On State Completed → Tree Succeeded for an uncontinued move and for each ending.Make a
CombatAbility_ComboBlueprint. Assign the tree and add all three attacks to Ability Classes. Grant the Combo Ability to the character. Activate it on the first press. During an open window, send the primary or secondary gameplay event to the character's ability system.

For an on-screen timing prompt, use BindToComboWindowChangedDelegate on the combo manager. Hide the prompt when the window closes. Use BindToComboFinishedDelegate to observe completion. On the stock manager, the native OnComboWindowChanged delegate lets C++ listeners react to each opening and closing window. Combat and Input covers input-action mapping and buffering.
Try It in Play
Try the opening move three times with input buffering off. An early follow-up should not advance the chain. A light press in the window should play the light follow-up, and a heavy press in the same window should play the other montage. Let the opening move finish once and verify the next press starts a fresh chain.