So I came across this tutorial which I used to get to grips with how to structure dialogue for NPCs, but I will admit that it took me a long time to figure out why it wasn't working, and then I randomly cracked it at some point and I have no idea how! But, that tutorial definitely helped :)