IDK if I missed it, but abilities cancel our auto attacks. Do we fix this in the course or is it something I should debug on my own?
Like I use an ability, and the auto attack just stops.
I just rewatched “cancelling abilities” and it seems as though this is intended.
I am trying to figure this out on my own, but what I want to do is store the previous action in a variable called “previousAction” in the action scheduler, and have a function called “ResumePreviousAction”.
What I have is, when you cancel the current action, you set the previousAction to currentAction, then StartAction(null)
Then, in ResumePreviousAction, you set StartAction to previous action, then set previousAciton to null.
Where in Ability would I want to call ResumePreviousAction?
There’s also an empty function in Ability called “effect Finished”
Do we use that at all?
I skipped ahead and checked out the “auto attack” portion of the last seciton in shops & abilities, and it seems like that might fix my issue that I’m having. So I’m gonna shelve this until I actually get there