Hello!
I'm trying to create a menu that can be opened when you talk with certain NPCs. The menu itself is looking good, but I'm having trouble with the "open on the map" part.
I'm currently using this code to make my menu appear, and it works:
However it's not an ideal solution, for I have to reload the scene by teleporting to make my menu appear.
How can I reload scene_map with a script call? I know there's a way, but can't find the correct code. I already tried Scene_Map.refresh(), $gameMap.refresh(), SceneManager._scene._conversationWindow.refresh() and other assorted variations, but with no avail.
I also have another INCREDIBLY STUPID PROBLEM: I don't know how to make my menu disappear.
Please help. ;__;
I'm trying to create a menu that can be opened when you talk with certain NPCs. The menu itself is looking good, but I'm having trouble with the "open on the map" part.
I'm currently using this code to make my menu appear, and it works:
However it's not an ideal solution, for I have to reload the scene by teleporting to make my menu appear.
How can I reload scene_map with a script call? I know there's a way, but can't find the correct code. I already tried Scene_Map.refresh(), $gameMap.refresh(), SceneManager._scene._conversationWindow.refresh() and other assorted variations, but with no avail.
I also have another INCREDIBLY STUPID PROBLEM: I don't know how to make my menu disappear.
Please help. ;__;