
Problem description: Currently do not have a code, I have literally no idea on how to approach this. When I was younger every commercial game (pretty much) had a system like this prior to voice acting becoming the norm. What I want is to be able to come up to an NPC talk to them and boom a HUD appears with the NPCs text (may it be a generic text or their personal text) clicking or hitting a button to make it scroll down/end the conversation (I assume most of you know the idea) and so on. How would I go about this? (pictures for reference in case no one understands what I am talking about)


A var to store what each npc says, defaulting to a generic greeting or w.e if they don't have anything to say, and a key_down() tracker. This is extremely simple to set up.