Character proximity, dialogue interaction, and sprite behavior

I’m currently working on the dialogue system for my game, but I’m running into a couple of issues:

  1. I set up an event so that when the player gets within 30 pixels of the NPC, a “C” prompt appears. However, the “C” only shows up if the player is really close — almost touching the NPC.

  2. I want it so that when the “C” appears, the player can press the key right away to start the dialogue. My question is: how can I make it so that once the “C” appears, pressing the button immediately triggers the dialogue?

If anyone knows how to fix this or has any tips, I’d really appreciate the help!

1 - change it to 100 or 200

2 - should work when 1 is true

1 Like