- Joined
- May 24, 2016
- Messages
- 113
- Reaction score
- 218
- First Language
- Italian
- Primarily Uses
- RMMV
Hello! I am fighting with a small, maddening issue.
I believe this is happening because when you use the command instead of the script call, Game_Interpreter sets a wait mode, while my code doesn't:
I can't, however, find a function to manually set the wait mode myself.
Any advice? Even hackey solutions are welcome. I just want this to work.
Do you really need to use the script call instead of an event command?
Yes!
I made a custom category that shows me only certain items based on a variable. Can't really do this in any other way :V
I am using the "Select Key Item" script call ($gameMessage.setItemChoice(var, n)) in a common event. And it works well!

My issue: the event runs the second script before I have selected an item in my window, and therefore throws me a "hey, this is undefined" error. I can't figure out how to make RPG Maker wait before running the rest of my code.
I believe this is happening because when you use the command instead of the script call, Game_Interpreter sets a wait mode, while my code doesn't:
I can't, however, find a function to manually set the wait mode myself.
Any advice? Even hackey solutions are welcome. I just want this to work.
Do you really need to use the script call instead of an event command?
Yes!
I made a custom category that shows me only certain items based on a variable. Can't really do this in any other way :V
Attachments
-
31 KB Views: 3


