Show picture above actor's battler

Hey there,

This can be too simple, but I haven't figured out how to do It. I would like to display a picture above actor's battler coordinates (obviously in battle). I haven't found a plugin that could help me yet, so I appreciate any effort!

Cheers ~
No need plugin for that, just setup two variables that represents battlers X and Y position on screen event
Code:
Control Variable: (id of your variable for X pos) SceneManager._scene._spriteset._actorSprites[0]._homeX
Control Variable: (id of your variable for Y pos) SceneManager._scene._spriteset._actorSprites[0]._homeY

Editor View

and using troop events use show picture with variables you set earlier.
Editor View

TIP: _actorSprites is an array so if you wish to show a picture on other party member change 0 to something else:
0 - party leader
1 - first team member
2 - second team member
3 - third party member


and so on.
Thank you. That actually solved my problem. Also, I wanna mention that you can either use
SceneManager._scene._spriteset._actorSprites[id].x to get the x position of an battler as I just found out.
Right, I accidently gave you homeX, because I'm using different battle system in my game 🙂

Original thread: https://forums.rpgmakerweb.com/threads/show-picture-above-actors-battler.117008/