- Joined
- Jul 29, 2012
- Messages
- 236
- Reaction score
- 214
- First Language
- English
- Primarily Uses
I've been referencing the 'script equivalent of command calls' list a lot lately ( link ) but the listing for the Wait command doesn't work.
I can't locate $gameInterpreter in my console, firstly. I was able to find it being created (or at least where I think it's created, I'm an amateur with JS) in rpg_objects.js and, in fact, that Game_Interpreter function does have a wait method which takes a duration as its parameter. However, even so, calling it returns that $gameInterpreter is undefined. If I call Game_Interpreter instead it (of course) returns that it doesn't have a Wait method.
So what is the proper way to call for a Wait inside a script execution event? This is what my event looks like at the moment:

What I'm trying to achieve is a sweep of audio from the left-most pan to the right-most pan with a short delay between each played sound so it doesn't create overlapping tones and takes a little bit to go from left to right.
I can't locate $gameInterpreter in my console, firstly. I was able to find it being created (or at least where I think it's created, I'm an amateur with JS) in rpg_objects.js and, in fact, that Game_Interpreter function does have a wait method which takes a duration as its parameter. However, even so, calling it returns that $gameInterpreter is undefined. If I call Game_Interpreter instead it (of course) returns that it doesn't have a Wait method.
So what is the proper way to call for a Wait inside a script execution event? This is what my event looks like at the moment:

What I'm trying to achieve is a sweep of audio from the left-most pan to the right-most pan with a short delay between each played sound so it doesn't create overlapping tones and takes a little bit to go from left to right.
Last edited by a moderator: