So, I am designing a plugin, but I ran into a problem. Is there any way to simulate the Wait command or at least wait for a picture to finish moving?
I understand that this command does not simulate it:
Game_Interpreter.prototype.wait(60);At the moment, what I have is this (imagine everything was already declared and set):
for(var i = 0; i < coordArray.length; i++){ $gameScreen.movePicture(id, origin, x, y, 100, 100, opacity, 0, 15); Game_Interpreter.prototype.wait(15);} I am all ears/eyes for information to fix my problem wait problem (as it isn't waiting for the image movement to finish). This is the main thing stopping me from finishing my plugin.
P.S. I am still quite new to programming for RPG Maker MV, so I am probably making many mistakes (I have to familiarize myself with prototype, for example).
I understand that this command does not simulate it:
Game_Interpreter.prototype.wait(60);At the moment, what I have is this (imagine everything was already declared and set):
for(var i = 0; i < coordArray.length; i++){ $gameScreen.movePicture(id, origin, x, y, 100, 100, opacity, 0, 15); Game_Interpreter.prototype.wait(15);} I am all ears/eyes for information to fix my problem wait problem (as it isn't waiting for the image movement to finish). This is the main thing stopping me from finishing my plugin.
P.S. I am still quite new to programming for RPG Maker MV, so I am probably making many mistakes (I have to familiarize myself with prototype, for example).