How to close steping with Javascript for specified event?

I am using a plugin that provides a "standby" command, I have specified an event, and I want to be able to turn off its "steping".
can you be more specific?

Like link to the the plugin you use, the event you use?
if using the eventing, you can uncheck the "Stepping" though.

Or we do need more details to your problem.
can you be more specific?

Like link to the the plugin you use, the event you use?
if using the eventing, you can uncheck the "Stepping" though.

Or we do need more details to your problem.

well,I use the TMSrpg.js,This is a SRPG plugin from Japanes,like LeTBS.
When I use the "wait" command, the battle actor not stop but steps in place, so I want to modify the "wait" command to make it static.

// SRPGcommand【waiting】
Scene_Map.prototype.srpgCommandWaiting = function() {
var event = this._srpgStatusWindow.user();
$gameMap.showWaitingArea(event);
this.openSrpgHelp(waitingHelp, 1);
this._helpWindow.close();
this._srpgCommandWindow.close();
this._srpgStatusWindow.user().executeSrpgWaiting();
this._srpgStatusWindow.close();
event.srpgAutoStart('A');
if (event.isSrpgActorUnit()) {
var battler = event.srpgBattler();
event.setImage(battler.characterName(), battler.characterIndex());
}
this.areaSelecterDeactivate(true);
if (this.isAllActorSrpgWaiting()) {
this.srpgCommandTurnEndYes();
}
};

This is the part I found that this feature works in. I have modified it to turn on the selfswitch A of the event and replace it with the specified actor image.
But one problem is that when I turn off switch A with the function in the game in the next round, the replaced actor image will be covered by the image of the event itself.
So I hope to find a way to turn off the "steping" of this event directly.
can you be more specific?

Like link to the the plugin you use, the event you use?
if using the eventing, you can uncheck the "Stepping" though.

Or we do need more details to your problem.
In fact, there is an easier way, just tell me how to use the script to switch the specified event to the image of the corresponding character in the team. For example, I want to switch the image of Event 2 to the image of the third character in the team.
I dont know the plugin, but its best if you like to it, so another with more advanced or know this plugin can help you out.

The reason for the plugin link is so they can check the full code, and modifiy where need to get the result you want too.
With this plugin and the "stepping" animation inside here, is something I cant help you with.
The third character in the team could be anyone, if you allow the player to change formation.

How are you executing the Wait command? From a event's Plugin Command? If so, can't you just do a movement route on the event to turn off stepping animation, or to set the sprite to whatever sprite you want?

Original thread: https://forums.rpgmakerweb.com/threads/how-to-close-steping-with-javascript-for-specified-event.112823/