Looks like in Event 4 the length of all the lines is set by the distance between the player and the enemy with the lowest ID. (in other words neither are picked.)
it needs a "for each" there as well, but that is where you need to have an ID to tell which line belongs to which enemy. This is where the knowledge of the Line of site routine would help.
Edit: Nevermind, it hit me how the routine must work, instead of the distance between the enemy and the player, just use the Line_of_Sight.x and Y instead. (line 4 change "Enemy.x" to "Line_of_Sight.x" & "Enemy.y" to "Line_of_Sight.y"
that fixes it. However the lines seem to be offset like the origin point is at the top left. Ah, just checked, the origin point is right in frame one, but jumps all over the place on other frames and animations.
Well, I have it, I may as well save you the typing now:
https://dl.dropbox.com/u/85412219/forumposts/ninjaproject.capx
however even with the origins all centered, it still seems to draw the lines offset.