Hello, so I'm currently developing a game using RPG Maker 2003. I really wanted to have the Earthbound style menu and interact system, (a small menu that pops up when the player presses the interact key which then has the option to 'check' allowing the player to interact whatever is in front of them).
To create the menu I followed this tutorial, and then I created the interact system using this tutorial! It was super helpful and I managed to follow all the instructions 🙂 But I do have one issue which I cannot seem to fix!
When the player interacts with something, I want the menu to close. So they can press interact to talk to the NPC or read the sign etc, and the menu closes at that moment. At the moment, after the player interacts using that menu option, the menu continues to stay open and active. Here is a video showing what is happening.
I feel like I have tried everything to fix this but nothing seems to be working.
Here is the part of the code in the menu that is run when the player selects the interact option in the menu.
When the player wants to close the menu, they can press escape and the menu closes. So I thought I could reuse that part of the code to make the menu close after the player chooses the interact option, but when I do that it makes the player unable to move and the menu still open but not visible.
The part of the event that closes the menu is here:
The reason why I have the switch 'Pause Menu' is because previously when the player was opening the menu, NPCs would still move around and the world was not on pause. So I made the common event for Menu to be autorun, but with the condition switch 'Pause Menu'.
So the common event for key detection which I made from the custom menu tutorial calls the Menu event and turns the switch on when the key is pressed.
I don't know if this was necessary or if there was an easier way to do that but this way was working for me T_T but now I cannot have the menu close when the player uses the interact option. I'm sorry if this is confusing or explained badly 🙁 I appreciate any ideas or help!!
To create the menu I followed this tutorial, and then I created the interact system using this tutorial! It was super helpful and I managed to follow all the instructions 🙂 But I do have one issue which I cannot seem to fix!
When the player interacts with something, I want the menu to close. So they can press interact to talk to the NPC or read the sign etc, and the menu closes at that moment. At the moment, after the player interacts using that menu option, the menu continues to stay open and active. Here is a video showing what is happening.
I feel like I have tried everything to fix this but nothing seems to be working.
Here is the part of the code in the menu that is run when the player selects the interact option in the menu.
When the player wants to close the menu, they can press escape and the menu closes. So I thought I could reuse that part of the code to make the menu close after the player chooses the interact option, but when I do that it makes the player unable to move and the menu still open but not visible.
The part of the event that closes the menu is here:
The reason why I have the switch 'Pause Menu' is because previously when the player was opening the menu, NPCs would still move around and the world was not on pause. So I made the common event for Menu to be autorun, but with the condition switch 'Pause Menu'.
So the common event for key detection which I made from the custom menu tutorial calls the Menu event and turns the switch on when the key is pressed.
I don't know if this was necessary or if there was an easier way to do that but this way was working for me T_T but now I cannot have the menu close when the player uses the interact option. I'm sorry if this is confusing or explained badly 🙁 I appreciate any ideas or help!!