MV idle camera sway in battle scenes

looking for a plugin that sort of sways the camera from side to side during battle while the player selects their moves

something like this:

but a bit less subtle
im willing to get any plugins required (yanfly etc) im just not sure how to achieve anything like this as all searches came up empty and i dont have experience with battle camera plugins
I don't know of anything that does this.

My only thought is to use a plugin that enables parallel events in battle and combine it with a plugin that offers camera control. Then you can have a parallel event populated with plugin commands for the camera.
do you know of any camera plugins that have some kind of function like this? all i know of is some yanfly stuff meant for attack sequences, so if its not anchored to an actor/skill im not sure how to get it to work with those
it is possible actually to get the Yanfly battle camera to work outside of skills and what not. but yeah, you will need a plugin that allows for parallel processes. the rest is just scripting. I have something going on whenever you select an actor/enemy in battle and the camera will move and zoom in on them to a degree.
this is the code I used to do that, minus the zoom in stuff...

BattleManager._cameraX = $gameParty.members()[0].spritePosX();

BattleManager._cameraY = $gameParty.members()[0].spritePosY()-96;

$gameScreen.setCameraDuration(30);

but in your case you just need the cameraX to go back and forth slightly, so I guess you could change it to move slightly from wherever the center of your screen is a bit in a direction then back in the other.

now I'm a novice for the most part. I only know how to do stuff cause of scouring plugins for script calls, so I bet there's probably a better/smarter way to do this, but this worked for me at least.

EDIT... I forgot, if you do this tho, you HAVE to turn off the parallel process when you do skills again or else the camera isn't gonna do anything within the action sequence. once it's over, you can turn the event back on.
this sounds good i just worry that with a plugin allowing parallel events in battle all my parallel common events would run in battle too which would mess things up real bad
all my parallel common events would run in battle too which would mess things up real bad
Honestly, that sentence is a bit of a red flag 😛 Your game probably should not have multiple parallel events running constantly.

And you should be controlling your parallel events anyway. Just turn their switches off when battle starts, then back on afterward.

Original thread: https://forums.rpgmakerweb.com/threads/idle-camera-sway-in-battle-scenes.168784/