How to iterate through actors with specific tag in scene and add them to a Tarray ? (C++)

I am trying to store waypoint coordinates that I place in my scene so that my NPC character can use those coordinates to do specific actions but I cannot seem to wrap my mind around how UE4 works . I am not unfamiliar with C++ but I’m coming from Unity3D and I need help.