Script for current actors turn in battle?

Is there a script call or anything that I can use in a conditional branch to display an image (turn indicator) depending on which actor's turn it is in battle?
That depends on the type of battlesystem and where exactly you want to use the conditional branch.
That depends on the type of battlesystem and where exactly you want to use the conditional branch.
I'm using the front facing system, and the conditional branch can be wherever works, I've been trying to make a turn indicator for so long.
actually my question had nothing to do with front or sideview, but with turn-based or time progressing or plugin-based other types of battlesystem.
Just one example: in turn-based each actor has a skill selection and a skill execution that are NOT at the same point in code.

And the question about the conditional branch wasn't that easy either - you phrased that as if you're talking about event commands, but there are a lot of places where you can't use event commands like that but have to go into javascript code to have a chance of this working, and then it depends on where in the code you are trying to use that structure.
actually my question had nothing to do with front or sideview, but with turn-based or time progressing or plugin-based other types of battlesystem.
Just one example: in turn-based each actor has a skill selection and a skill execution that are NOT at the same point in code.

And the question about the conditional branch wasn't that easy either - you phrased that as if you're talking about event commands, but there are a lot of places where you can't use event commands like that but have to go into javascript code to have a chance of this working, and then it depends on where in the code you are trying to use that structure.
Anywhere. Give me any solution.
Control Variables -> Script: $gameTroop.turnCount()

The TextPicture plugin, present by default in new MZ projects, lets you show text as a picture. I'm thinking you could assign the text via troop events, e.g.
  1. Conditon: Turn 0, Span: Battle.
  2. Condition: Turn 1*X, Span: Turn.
Then in the events:

◆Control Variables:#0123 Turn Count = $gameTroop.turnCount() ◆Plugin Command:TextPicture, Set Text Picture : :Text = \v[123] ◆Show Picture:#2, None, Upper Left (12,6), (100%,100%), 255, Normal
Control Variables -> Script: $gameTroop.turnCount()

The TextPicture plugin, present by default in new MZ projects, lets you show text as a picture. I'm thinking you could assign the text via troop events, e.g.
  1. Conditon: Turn 0, Span: Battle.
  2. Condition: Turn 1*X, Span: Turn.
Then in the events:

◆Control Variables:#0123 Turn Count = $gameTroop.turnCount()
◆Plugin Command:TextPicture, Set Text Picture
: :Text = \v[123]
◆Show Picture:#2, None, Upper Left (12,6), (100%,100%), 255, Normal

Is this for the enemy or the actor? Actor is what I was looking for
Anywhere. Give me any solution.
Is this for the enemy or the actor? Actor is what I was looking for
It shows the turn count, a number e.g. used for troop event conditions.

I re-read the opening post and I guess you instead want to show a cut-in kind of thing during the input phase when selecting different actors' actions? So, like, when Reid is picking what action to take, Reid's portrait is showing at the side of the screen? If not, I suggest you try to be more specific.

If so then that'll need a plugin because events don't run during the input phase, much like Andar was saying. I think I remember Moghunter having a plugin like that for MV? No idea if it got ported to MZ though.
Another popular solution for adding graphical elements like this to battle is SRD's HUD Maker - if you go that route, there are probably a dozen threads that come up with the syntax for that plugin referring to the current inputting actor.
Anywhere. Give me any solution.
There are a ton of plugins for a turn indicator. ATT_Turan's suggestion of hud maker is great and gives you options to do other HUD related things, but if you're only looking for a turn indicator i would suggest Akea's Battler Order, as it does exactly what you're looking for

Original thread: https://forums.rpgmakerweb.com/threads/script-for-current-actors-turn-in-battle.173959/