I think the function you might need to use is ATAN2(x,y). I haven't got the time at the moment to put some code together but basically use TFORMPOINT to determine the destination entity's x and z position relative to the source entity. Then use ATAN2(x,z) to determine the EntityYaw() of the source entity.
I hope that's not too vague.
Regards
Johnno
I hope that's not too vague.
Regards
Johnno