weapon change/graphic change problem

hi i have a little problem and need some ideas
i am using galv character animation plugin and i wanna if player change weapon actor's graphics will change
i create a common event for changing graphics. if player change weapon actor's graphic change but not stop changing.
in character moving you'll see(this problem create a badly moving loop)
this is the small video for showing my problem.
(video has some lag sorry)
just focus after equip a weapon
i wanna if player change weapon actor's graphics will change in all game but not like this
how i can fix this problem
Thank you for helping
The problem is that the "Change Actor Images" is being triggered 60 times per second as long as the actor has one of the two weapons in your event equipped.

First of all, using a parallel process without a "wait" command can cause significant lag because it's being checked 60 times per second. So you should always include a command to Wait for a few frames in parallel processes. Secondly, you have the trigger set so that it will trigger the "Change Actor Images" every time the loop runs while that weapon is equipped.

However, in this process, you only need it to check the actor's weapons ONCE on scene change (which happens when you exit the menu), not repeatedly in a loop while they're on the map. So I'd suggest looking for a plugin that allows you to do this (there seem to be several), rather than trying to accomplish it through events.
Thank you for help.If someone else has this problem just look yanfly's YEP_UtilityCommonEvents plugin.This plugin has exit menu control.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/weapon-change-graphic-change-problem.89284/