Hi there,
I've bought the motion controller and several packs (great stuff) and I'm trying to extend it and having some difficulty.
So I have a custom controller (copied) and a custom BasicMeleeAttack (copied).
All I'm trying to do is add a third combo element to the basic attack, I've adjusted the state machine to that Back Slash links to Spin Slash with a motion form 102, I've adjusted the Attack Style to include it and I've tried removing End Chain event from Back Slash and even commenting out the End Chain event in the code but I just can't get it to follow throw with the third attack. Where am I going wrong here?
Thanks,
BrokenBears
No idea what happened to the title! Sorry!
Your animator controller looks correct. You will need the BeginChain and EndChain animation events on the animation clips for it to work correctly, as those define the window of time during which further input will continue the combo.
What you may be missing is the link between Back Slash and Spin Slash. In the inspector panel for Back Slash, you need to specify the index of Spin Slash in the Next Attack Style field on Back Slash (in the default setup, its index is 2). I can't tell if you have it set, as it's cut off in your screenshot.
If you're using Attack Profiles, then this part is simpler, as you don't need to specify the Next Attack Style. Checking Is Attack Chain indicates that this profile's Attack Styles are all part of a combo chain and when the reactor copies the list of Attack Styles to the motion, it will automatically assign the correct index for the Next Attack Style.