You'll want to carefully code in a bunch of the other functions that are available in the GameplayAbility.h header file, including implementations for the following:
- SendGameplayEvent: This is a function to notify GameplayAbility that some general gameplay event has happened.
- CancelAbility: This is a function to stop an ability's usage midway through, and to give the ability an interrupted state.
- Keep in mind that there are a bunch of existing UPROPERTY specifiers near the bottom of the UGameplayAbility class declaration that either activate or cancel the ability upon addition or removal of certain GameplayTags. See the following GameplayTags API – attaching GameplayTags to an actor recipe for more details.
- There are a bunch more! Explore the API and implement those functions you find to be useful in your code.