How to "Inspect object" or NPC Dialogue in an game.

I’m making an rpg, and I need to make it so when you are close to something, then press a button, you will inspect the object. Or if you’re close to an NPC, it will display dialogue. I have no idea how to do this. I’ve tried, but failed. Can someone help me?



Haha, glad I refreshed. I was writing a very similar description.

Why didnt i think of that?

can you make a bundle of it

bundles are easier

@JeffyBoi123, this post is from 2016.
Please refrain on commenting on old posts, to keep the forums nice and tidy.
If you have a similar issue, then please make a new discussion. =)