Hi there,
I am working on a combat system inspired by the Soulsborne series. I am using GAS to handle things like rolling, attacking, jumping etc. In souls-like combat, animation allow cancelation/interruption, e.g. at the beginning and at the end of an attack other animations or movement can cancel them which allows for smother combat. GAS has an easy way for this using the GameplayTags. However, I don’t want to allow it during the whole ability. Which leads me to the following problem.
I would need a way to dynamically add and remove tags to/from “Cancel abilities with tag”. I found nothing on that matter. I assume I can add and remove Tags from “FGameplayTagContainer CancelAbilitiesWithTag” but I am not sure. Further, I would need to inform my ability when to add and remove the tags. This would be based on Notifies of the currently playing montage. But I can find nothing on how I would check for Notifies in an Gameplay Ability.
Any help appreciated, maybe I am thinking the wrong way of implementing this system?
EDIT: Forget the part with adding tags. I was completely wrong there. Firstly the cancelation tag has to be added to Ability Tags and secondly this method exists. Main point is how to integrate Notifies.