Step Forward in battle helps show which actor's turn it is.
We have 4 battlers in Side View battle.
It works with Sprite Actor this.startMove(x,y), however I would like all actors who step forward to step to the same y position on the map.
How can I do this?
EDIT: Oh I solved it! This was the solution:
Sprite_Actor.prototype.stepForward = function() {
if (this._homeY == 280) {var my = 0;}
if (this._homeY == 280 + 1 * 48) {var my = - 1 * 48}
if (this._homeY == 280 + 2 * 48) {var my = - 2 * 48}
if (this._homeY == 280 + 3 * 48) {var my = - 3 * 48}
this.startMove(160, my, 12);
};
We have 4 battlers in Side View battle.
It works with Sprite Actor this.startMove(x,y), however I would like all actors who step forward to step to the same y position on the map.
How can I do this?
EDIT: Oh I solved it! This was the solution:
Sprite_Actor.prototype.stepForward = function() {
if (this._homeY == 280) {var my = 0;}
if (this._homeY == 280 + 1 * 48) {var my = - 1 * 48}
if (this._homeY == 280 + 2 * 48) {var my = - 2 * 48}
if (this._homeY == 280 + 3 * 48) {var my = - 3 * 48}
this.startMove(160, my, 12);
};