Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | samjmiller |
Sorry for the noob-ness, but I’m looking to create a very basic interaction between the player and an NPC in my 2D RPG, where the player approaches the NPC and interacts with them and a dialogue box pops up with a simple message. I’ve created the player and the NPC, but haven’t been able to make anything happen.
I don’t even have any sample code to share because I’ve tried following several tutorials but not gotten anywhere, and I think I need to take a step back and get a fresh perspective.
So any guidance on the most basic way to cause a player action to trigger an NPC response would be hugely appreciated!