How can i made a tracking system for turrets with gameplaytags?

You could look at my second post here Blueprint - EQS and Gameplay Tags - I need help! - #3 by ViridianGU there I have posted a minimalistic example of the .h file of a character that implements the IGameplayTagAssetInterface (no need to do anything in the .cpp file). If you inherit from actor, the changes would be the same (so also inherit from IGameplayTagAssetInterface and then copy everything following “// Need to store the GameplayTags…” to the .h file)