MZ A camera that looks at an enemy when targeted

I have this UI idea that I have no clue how to implement

Basically, what I want is for the camera to move slightly when targeting an enemy like this.


Untitled_Artwork-1.png
Untitled_Artwork-2.png
Untitled_Artwork-3.png



I use MZ. and I'm using Visualstella Battlecore.
Well since you said you're using VisuStella, their base package includes the Action Sequence Camera plugin. I guess you could use those functions if you find a way to get rid of the constant camera reset during input phase (or to make it update also in the input phase, not sure which one is the case).

You can try asking their discord what is the method resetting (or causing it not to update in input) it and put a conditional there that it doesn't reset it when you're in the enemy select window. And then use the scripts to move the camera when you move in the enemy select window.

Or maybe someone can tell you how to move around the whole spriteset when you're in the enemy select or something, or some other plugin.
Interesting... I'll look into it

Original thread: https://forums.rpgmakerweb.com/threads/a-camera-that-looks-at-an-enemy-when-targeted.182767/