Hello, just getting started with Ork here. I'm trying to create a hack 'n' slash type game, in which the player can attack at any time without needing to go into a battle mode. So far I've set up legacy animations for walking and idling in Base/Control > Animations. These appear to be working- I see the player character idling and performing the walk animation when walking. The problem I'm having is that I can't seem to get the player to attack. I've defined an attack animation (also in Base/Control > Animations, with the name of the prefab's attack animation), set up an input key for space as explained
here, and set up a control map for attack as explained
here, but pressing the space key while playing the game does not cause the attack animation to play.
Any idea what I might be missing? Thanks in advance for any assistance.
Beside using the real time battle system, you can also set up your abilities be usable in the field as well, i.e. without being in battle.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Thanks for your help!
You don't actually add specific animations to Abilities. You need to play a Combatant Animation in a Battle Event. In the Battle Event where you play the animation, you'll also need a step to calculate the results of the attack.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!