add lua function to determine line of sight between to positions