Hey , I have what is probably a stupid question. I am trying to give units an attribute for the number of attacks they make with a single attack action, so like Fighters can attack twice with one attack action but Mages would only attack once. I figure this can be done by having animations for the multi-attacks that give the ActionHit Notify more than once before the ActionEnd notify, then which animation you play for the attack would just depend on the value of the NumberOfAttacks attribute, which I created as an integer in BP_Unit as one of the public variables you made like Max Health, Speed, etc.
However, I have no clue how to reference that NumberOfAttacks variable in the animation or in the execution of the Animate Ability event on the BP_Unit_Melee. I’m sure it has something to do with BPIs, which I don’t understand, and I have no clue what to do. Could you help? How would you approach this?
Thanks for your time.