Is there a way to make say a npc talk when you press a certain button near it/him/her?

i want a sign to explain the instructions when you press the x key near it, it it possible?

Sure - create an object and add a sign sprite to it.

Then, for the behaviors on this sign:

  1. First create your key press trigger and assign it to “x”
  2. Add an alert box with the instructions you would like to display
  3. Add a switch and set it to “off”
  4. Connect the input of the switch to the key press trigger, and the output to the alert box
  5. Add a proximity trigger connected to the switch “on” input, so that the instructions are enabled when you get close enough