So I'm using a battle system that uses transparent battlers and displays a picture for the enemy instead. This means that I can generate a lot more movement in the enemies but the downside is that when I force an action or display an animation it happens behind the enemy.
Is there a way (or script) to alter the graphics priorities so that animations display over the pictures rather than underneath?
theoretically yes - but it depends on how your pictures are displayed and on which layer.
and you didn't even tell if you're using a script or troop events or whatever to create your battlesystem.
please provide either links to the websites of any script you're using or screenshots of the events or so, then someone can check.
No scripts involved (not for that element, anyway). I am using Yanfly's battle engine plus some related scripts, however.
The enemy in the database has a blank graphic. In the troop, there is an event on turn zero to display the picture (as picture 2). Then the attacks and skills trigger common events, as in the screenshots.
Screen 1 - The enemy has a blank skill that takes them to the common event in screen 3. The graphic is left blank.
Screen 2 - The troop event initialises the battle at turn 0 and displays the 'battler' as picture 2.
Screen 3 - The enemy's skill triggers a conditional branch to decide what course of action to take. These link into other common events.
Screen 4 - The 'claw attack' uses pictures on layer 3 and above, plus screen effects. It ends with a forced action with no animation so the skill in the database is only being used for its damage formula. No problems with this bit.
The problem comes when I want to use a combat animation rather than picture movement or to force a skill and rely on its animation. It displays behind the enemy picture but I want it to display in front of it instead. I just wondered if there's a script/scripting fix to change this. I searched but couldn't find anything on this for Ace (there were some similar topics for MV that ended in plugins). My research also threw up something about changing Z coordinates but I could just use a hand to point me as to how to change that, if indeed it is possible.
Given that there are no active scripts that affect this and that it's asking about the default system... anybody able to help?
the problem is that you'll need a script to change the z-layer of the display parts.
that you don't use any other scripts means that there is no problem with compatibility, but unfortunately giving you that script is beyond my knowledge.
I suggest you report your first post and ask it to be moved to script requests.
Thanks Andar. You're a legend, as always.
Holy poop! That seems to work perfectly! Thank you so much!
It seemed like such a simple concept, I was surprised I couldn't find anything on it. But I was starting to think it was much more involved than I'd first thought. It was about to construct an elaborate workaround involving NeonBlack's state graphics script, in which I would add a state immediately before an animation that would substitute the battler graphic back to an image and remove the picture.
This is at least 1000% better. Thanks a million. *adds credit*