Hello,
May I ask how to change turn to time?
For example,
I want 5 sec to be a turn.
Anyone know the script?
Thank you.
May I ask how to change turn to time?
For example,
I want 5 sec to be a turn.
Anyone know the script?
Thank you.
Can you tell me how to track turn by time.
I want to use for ABS.
Game_Battler.prototype.addState = function(stateId) {
if (this.isStateAddable(stateId)) {
if (!this.isStateAffected(stateId)) {
this.addNewState(stateId);
this.refresh();
}
this.resetStateCounts(stateId);
this._result.pushAddedState(stateId);
}
var AutoTime = $dataStates[stateId].meta.R;
var time = Number(AutoTime)*1000;
var THIS = this;
setTimeout(function(){
THIS.removeState(stateId)},time);
};
Original thread: https://forums.rpgmakerweb.com/threads/change-turn-to-time.87017/