MV (Solved) Looping Animations below/behind SV Actor in action

Excume me for my question and my poor english;

Link to plugin:

I wish to show this indicator under/below/behind the sideview actor sprites.
Is there a way to set a Z-axis or so for this?
I`ve tried my best editing the plugin, but this doesn`t work as I want.
com.png


I would appreciate your help.
I know Z is the position of above, below, if you want it below the actor
and enemies, yo need to change the "this.posY();"

Idont know if numbers works, because of the different heights of sprites.
so it probably need to modify a bit to get in the way you want too.
I mean as in layers of the images.
I want the actor`s sprite to appear on top of the Indicator`s layer.

Moghunter`s Custom Title Screen:
This(MOG_TitleLayers) has layers, so I thought Indicators` layer can be set too.
Is this impossible?
nothing is impossible, -1 or 0 is mostly below sprites, 1, 2, 3 goes on top of the sprites.
so if you really want something specific, try to explain exacly how the indicator need
to work (even a mockup can help more), when giving a precise direction, coders that
are advance in js can help you out to modify the plugin for you.

it's a bit unclear, I know TitleLayers by name, but I dont use it, because every plugin
is setup differently, and the indexing works differently in TitleLayers and Indicator.
while TitleLayers if not mistaken use Title_1, Title_2, Title_3 etc to index the number
on top of each other, while the indictator are a bit different.

But like I said, it's not impossible, but explain more, and someone can help you modify.
Thank you for your advice!
Let me try explaining more.

What I want is a plugin, or an edit of the Actor Turn Indicator,
that displays a looping animation (I am using a magic circle)
as an indicator beneath the SV Actor who is on turn at the time.
The image of the indicator is difined 'img/system/TurnIndicator.png'.

indicator.png


I have tried adding some lines to the Actor Turn Indicator JS file,
since it seems to not position the Z axis or in which layer the indicator is shown,
but I have not found a way for it to work out.

From this thread;
I thought adding a line 'this.z = -1;' to the JS will do it, but it doesn`t do anything.

So I wish to have some scripts that changes the layer or z axis offset
of the indicator to somewhere under the SV Actor,
or something that lets me edit the Z-Axis offset in the plugin parameters.

I`ve tried my best to explain, but since I have no knowledge of JavaScript,
this still may sound unclear. I`m sorry if so, but I would appreciate it if anyone can help.
offset can be changed by posY (vertically up and down), Z index is between sprites.
most ground sprites = 0, anmations can be 1, actors on 2, etc, so I can't tell what -1
exacly means, mostly on some scripts, it can be "this event" or this.actor as of
-1 player, -2, follower etc etc. 0, 1, 2, 3 for current event, event 1, event 2 etc.

but I think with a minor edit that knows MOG plugin's very well can help you add it and psotion
it nicely under the actor.

static and animated indicator on the otherhand are 2 different things. but I see your point,
while I can't help you on this part, I do hope one can fix this for you.

I wish you good luck on your project and the edit you need for this plugin or addon 🙂
Thank you for wishing me good luck, ShadowDragon!:LZSsmile:


Luckily, I have found out a way to make things work close to what I want,
without using the MOG_ActorTurnIndicator.

Here`s a gif screenshot from my project:
Indicator2.gif


For anyone who wants to know how to show magic circles(or any other animations),
beneath/behind the actor`s SV battler who is currently making actions,
and also make it loop untill the actor`s action end, I will leave a note below.


Plugins I used :
Instructions :
  • Install the plugins and make sure your game is in SV battle mode.

  • Add "TPZH" to the end of the Animation`s name you want to show.

  • Create a State, set the animation you modified just now,
    using the notetags from VE_LoopAnimation.

  • Edit the YEP_X_BattleSysSTB javascript file:
    • After:
      Yanfly.STB.BattleManager_processTurn = BattleManager.processTurn;
      BattleManager.processTurn = function() {
      var subject = this._subject;
      SceneManager._scene.refreshSTBTurnOrderWindow();
      if (this.isSTB() && subject.isActor()) {

      Add a line "BattleManager._subject.addState(ID);"
    • After:
      BattleManager.endSTBAction = function() {
      this._phase = 'turn';
      Add a line"BattleManager._subject.removeState(ID);"

Since I have found a solution without using the MOG_ActorTurnIndicator plugin,
I am changing the topic title. Thank you for your reply!:LZSjoy:

However, if anyone has any other solutions, you`re welcome to share.
(Because this one doesn`t look as pretty as MOG_ActorTurnIndicator. Haha)

:LZSwink:Thank you for reading.

(Topic title at first : How to show 【Moghunter`s Actor Turn Indicator】 below actors)

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/solved-looping-animations-below-behind-sv-actor-in-action.126866/