RPG Maker Forums

Hello! I am fighting with a small, maddening issue.
I am using the "Select Key Item" script call ($gameMessage.setItemChoice(var, n)) in a common event. And it works well!

upload_2018-9-12_21-57-58.png
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:

upload_2018-9-12_22-5-41.png

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

Latest Threads

Latest Posts

Latest Profile Posts

He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!

Forum statistics

Threads
106,036
Messages
1,018,461
Members
137,821
Latest member
Capterson
Top