- Joined
- Jan 17, 2014
- Messages
- 67
- Reaction score
- 30
- First Language
- Spanish
- Primarily Uses
- RMMV
I'm trying to make a plugin that requires the editor's wait command twice, one of them for a customized animation, Game_Interpreter.prototype.command230, that calls Game_Interpreter.prototype.wait. I read on that spreadsheet I could just use $gameInterpreter.wait(), but $gameInterpreter does not exist. I found out it's actually $gameMap._interpreter.
I tried to make in my plugin script:
Since the plugin is most likely triggered in (default) (side) battle, but I also tried from $gameMap._interpreter , and nothing happened. I also tried to combine them with "waitMode" function with the "animation" parameter, and all the combinations with those, even straight in console, with no plugins on, and it does nothing, not even show some error.
I also tried playing with the parameters in new Game_Interpreter();
I'm out of ideas on what to try, I know the native JS ones would freeze the game completely, so how can I emulate the "Wait" command from the editor in a plugin?
I tried to make in my plugin script:
Code:
var interpreter=new Game_Interpreter();
interpreter.wait(200);
Code:
var interpreter=new Game_Interpreter();
interpreter.command230(200);
I also tried playing with the parameters in new Game_Interpreter();
I'm out of ideas on what to try, I know the native JS ones would freeze the game completely, so how can I emulate the "Wait" command from the editor in a plugin?
