So I'm making a hud with SumRndmDude's Hud Maker, and so far, its been fairly simple to use. I've had to look up a few script calls here and there, but I've managed.
Now here's the problem I'm having now. I want to make a custom Portrait and HP/MP bar for my characters (which I've done) but with these images there is no way to tell whose turn it is without having the original health/status bar visible. Is there a way to make it so that the portrait of the actor glows or highlights when it's their turn?
If needed, I am using Yanfly's battle plugin and DreamX's ITB Plugin.
not sure if it can be done with HUDMaker if you have 4 actors on screen which might
be need of a turn indicator, the only thing I can think of for which turn it is, is to use variable.
if variable = 0 (leader), when variable is 1 (2nd member), when 2 (3rd member etc).
you can place a glowing circle if the variable is MET, but if 1 HUD for all actors, it
would be really easy to accomplish it.
I'm not sure if there is an easier way without a variable though, not that I know off at least.
How would I activate these variables though? Maybe through use of common events? I don't see a way to use variables to determine whose turn it is, though I'll do some testing to see if it works
there might another way (untested) so you need to check it:
try with an arrow pointing image to see if it works.
BattleManager.actor (this should return to the current actor that take action.
or use the following if the above does not work.
BattleManager.actor.id == 1
replace 1 for the actor, and move the arrow above the correct head, and see if it works.
I didn't test it yet, but it might work or not, if it doesn't, maybe someone else is able
to help you out. (I got a scriptcall fora single hud that browse through the actors turn,
not sure if that will work though which is the following:
BattleManager.actor().actorId() if you browse through the faces for the actor turn.
Okay so for the the initial turn, it works, and by initial turn I mean the literal turn of the actor. After the actors turn, the turn indicator is still there. Then once it's back to Actor 1's turn, there is an error and then the picture disappears.
So I found out how to make it disappear, but not properly. I checked around the forums again knowing a bit more of what specifically I should be looking for and found this:
BattleManager.actor() && BattleManager.actor().actorId() === 1
This almost worked. The only problem is, with DreamX's ITB battle system each character takes their turns independently and if you attack an enemy with a move it's weak to, you gain an extra turn. I feel somehow this messes with the script call, and forces it to stay on longer than it should.
I dont kno the plugin, and while ==1 or ===1 is the leader, it should stay if it doesn't change
to ==2 or ===2 or higher number.
I don't have party members so I cannot test it, even with some, I dont know how DreamX ITB
would work, if someone knows how to use those 2, he/she might be able to help you how too.
I mostly use it for the simple parts, not yet for the battle hud though.