Text Prompt Conflicts with NPCs

Hey all,

I have been encountering an issue over the years with RPGMaker XP, in reguards to interactions with the ENTER key with events and text prompts. I have a text prompt that will appear when certain conditions are met, which requires that the player press enter to close the prompt. The standard process that comes with text prompts. However I noticed sometimes if i happen to be next to an NPC that requires the player to press enter to interact with them, I end up interacting with them when I do not wish to as i've pressed enter to close one prompt text which then opens another directly after.

is there any way around this? I'm assuming i could change all my NPC's to interact with the player only if he/she touches them instead of presses enter.
In Game_Player, near the bottom, try editing it to this
Code:
      # If C button was pressed
      if Input.trigger?(Input::C) && !$game_temp.message_window_showing
        # Same position and front event determinant
        check_event_trigger_here([0])
        check_event_trigger_there([0,1,2])
      end
Nice one. You just added an extra condition so you can only trigger an event if NO MESSAGE is showing. That should ensure that other events don't accidentally get triggered whilst talking.
Thanks KK20, I'll check that out!

Original thread: https://forums.rpgmakerweb.com/threads/text-prompt-conflicts-with-npcs.108384/