Thanks for your time, the eqs line trace seems to be following the AI perception trace (i.e. the trace originates from the character and not the gun) and is not going from the enemy gun barrel to the player despite providing the correct actor set. (I also tired using the gun’s barrel socket for the Providing a location set with the same outcome).
eqs linetrace issue
Custom environmental query context for the gun (being used in trace as seen in the above linked image)