Location of weapon barrel for spawning actors(projectiles)

Is there any way to know the exact location of a weapon barrel before spawning a projectile?

Using a GunOffset the way used in First person shooter template doesn’t seem accurate. Considering I am making a 3rd person shooter, it would be very hard to use a vector offset like that.

If I remember correctly, UDK had socket location which was used to either spawn particle emitters or spawn projectile at that location. Is anything similar possible in UE4?