Original Source
- Original title: $gameInterpreter.wait() doesn't work?
- Original author: Firgof
- Original date: March 20, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/gameinterpreter-wait-doesnt-work.59049/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support
Summary
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)...
Archived First Post
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:
Protected download
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.
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...
